app_census_zipcode_population | R Documentation |
Shiny App to Lookup Urban and Rural Data for a Given 5-Digit Zip Code
Lookup Urban and Rural Data for a Given 5-Digit Zip Code
app_census_zipcode_population() census_zipcode_population( zip_code_5, vintage = c("2010", "2000"), key = Sys.getenv("CENSUS_KEY") )
zip_code_5 |
five-digit zip code |
vintage |
Year of dataset, e.g., 2000. This data is only collected during decennial censuses. |
key |
Your Census API key, requested using https://api.census.gov/data/key_signup.html. |
A tibble with population data for a zip code tabulation area.
## Not run: ## only one download from Census per session per vintage census_zipcode_population("63130") census_zipcode_population("63102") ## another vintage census_zipcode_population("63130", vintage = "2000") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.