Description Usage Arguments Examples
State-level Decennial Census data
1 | state.data(token, state = "*", variables, year = 2010, survey = "sf1")
|
token |
Unique API token |
state |
Vector of state numbers. Defaults to "*" for all states. |
variables |
Vector of variable codes. |
year |
Either 2000 or 2010; 1990 is partially supported but may have errors. |
survey |
Either "sf1" or "sf3" |
1 2 3 | state.data(token = token, state = c(47:49), variables = c("P001001", "PCT014003"))
state.data(token = token, variables = c("P001001", "PCT014003"))
state.data(token = token, state = "*", variables = c("P001001", "PCT014003"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.