View source: R/acs_transform.R
This function parses the data downloded by acs_download()
and creates a csv
file for the selected parameters.
1 | acs_transform(year, span, geo, sum_levels, keep_vars, acs_dir = ".", .f = NULL)
|
year |
[integer(1)]: The year of the desired ACS sample. For example, use 2010 for the 2010 1-year ACS or the 2006-2010 5-yer ACS. |
span |
[integer(1)]: The span of years for ACS estimates. ACS contains 1-, 3-, and 5-year surveys. |
geo |
[ |
sum_levels |
[ |
keep_vars |
[ |
acs_dir |
[ |
.f |
A function or formula to be passed to If a function, it is used as is. If a formula, e.g.
This syntax allows you to create very compact anonymous functions. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.