Exercise

Calculating the number of government employees

In the video, you used the unemployment variable, which is a percentage, to calculate the number of unemployed people in each county. In this exercise, you'll do the same with another percentage variable: public_work.

The code provided already selects the state, county, population, and public_work columns.

Instructions 1/2

undefined XP
    1
    2
  • Use mutate() to add a column called public_workers to the dataset, with the number of people employed in public (government) work.