Description Usage Arguments Value Author(s) References Examples
This function enables users to extract datasets on Workplace Area Characteristics (WAC) at a census block level for a chosen state, and for a chosen year between 2002-17. The WAC dataset(s) give employment estimates for a variety of specific job sectors (e.g. manufacturing), and estimates of total jobs, for each census block that is classified as a 'workplace area'. This function grabs WAC data for the state and year chosen, and cleans it returning the output as a dataframe.
1 | get_wac_data(state_name, year)
|
state_name |
Users need to give the lowercase abbreviated state name of any US state, to enable the function to grab WAC data for that state. |
year |
Users need to give a year between 2002-2017, to enable the function to grab the WAC data for that year, and for the state identified with the state_name argument. |
A dataframe of cleaned WAC data for the chosen state and chosen year.
Ballantyne, Patrick
LODES data available to download manually from: https://lehd.ces.census.gov/data/lodes/LODES7/
1 2 | ## e.g. Get WAC data for delaware from 2015
df <- get_wac_data("de", "2015")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.