Description Usage Arguments Value Examples
View source: R/search_variables.R
Load variables from a decennial Census or American Community Survey dataset to search in R
1 | load_variables(year, dataset, cache = FALSE)
|
year |
The year for which you are requesting variables. Either the year of the decennial Census, or the endyear for a 5-year ACS sample. |
dataset |
One of "sf1", "sf3", "acs1", "acs3", "acs5", "acs1/profile", "acs3/profile, "acs5/profile", "acs1/subject", "acs3/subject", or "acs5/subject". |
cache |
Whether you would like to cache the dataset for future access, or load the dataset from an existing cache. Defaults to FALSE. |
A tibble of variables from the requested dataset.
1 2 3 4 5 | ## Not run:
v15 <- load_variables(2015, "acs5", cache = TRUE)
View(v15)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.