View source: R/grab_crosswalk.R
grab_crosswalk | R Documentation |
Download LODES geographic crosswalk
grab_crosswalk(
state,
download_dir = normalizePath(file.path(tools::R_user_dir("lehdr", which = "cache")),
mustWork = FALSE)
)
state |
US state abbreviation in lower case, can be a vector of states. |
download_dir |
Directory where lodes table will be downloaded. |
a dataframe (tibble) geographic crosswalk at the block level
# Download and load current geographic crosswalk for Alaska
alaska_xwalk <- grab_crosswalk("VT")
# Download and load current geographic crosswalk for small states
small_states_xwalk <- grab_crosswalk(c("wy", 'ND', 'SD'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.