Lightweight interface to the US Census Bureau's API for the 2010-2014 American Community Survey.
1 2 |
api_key |
The Census API key of the user; can be set beforehand with the set_api_key function. |
geography |
The geography for which the user would like to request data. Available geographies include 'us', 'region', 'division', 'state', 'county', 'tract', and 'block group'. Defaults to 'us'. |
variable |
A character string or vector of character strings representing the variable name(s) for which the user would like to request data. Defaults to 'B01001_001E', the estimate for Total Population. |
state |
The state for which data will be requested. Defaults to NULL. |
county |
The county for which data will be requested. Defaults to NULL. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.