Description Usage Arguments Value Author(s) References Examples
This function allows users to convert output dataframe(s) of get_wac_data or get_jobsector_wac into simple features, by joining the dataframe onto a census block simple feature for the state of interest, using the TIGRIS package to obtain the census blocks sf.
1 |
df |
This function requires as input a cleaned WAC dataframe either as a direct output of get_wac_data, or of get_jobsector_wac. |
Returns WAC data in a spatial (simple features) format, that can be easily manipulated, mapped or used in spatial operations.
Ballantyne, Patrick
LODES data available to download manually from: https://lehd.ces.census.gov/data/lodes/LODES7/ For more information on the TIGRIS package visit: https://CRAN.R-project.org/package=tigris
1 2 3 4 5 | ## Obtain a WAC dataset
df <- get_wac_data("ak", "2013")
## Convert to simple features
sf <- get_wac_spatial(df)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.