download_census | R Documentation |
Download Census Data
download_census(
.key = "",
.geo,
.use_age = TRUE,
.use_gen = TRUE,
.dir,
.workers = 1,
.retry = 10,
.progress = FALSE,
.states = NULL
)
.key |
A required character object containing a valid Census API key, which can be requested at api.census.gov |
.geo |
Either "county", "tract", "block", or "place" |
.use_age |
Should the age be included in the census download? |
.use_gen |
Should the gender be included in the census download? |
.dir |
Folder to store data |
.workers |
Number of paralell workers for downloading data |
.retry |
The number of retries at the census website if network interruption occurs. |
.progress |
Progress Bar |
.states |
Two Letter state codes to download |
A Dataframe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.