Description Usage Arguments Value
View source: R/call_census_api.R
This is an internal function and is not intended for users. See instead call_census_api.
1 2  | call_api_once(variables_to_get, geoid, allgeos, data_source, year, period,
  api_key)
 | 
variables_to_get | 
 A character vector of the desired variable names for the Census API call, defined at https://www.census.gov/data/developers/data-sets.html  | 
geoid | 
 A character string with a FIPS code, between 2 and 15 digits long.  | 
allgeos | 
 (optional) A string identifying the type of geography for
which to collect data within the the requested   | 
data_source | 
 A string identifying whether the SF1 (decennial census) or ACS data is desired.  | 
year | 
 If   | 
period | 
 If   | 
api_key | 
 The user's Census API key (as a character string). You can get
a free key from [Census](http://api.census.gov/data/key_signup.html). See
  | 
A codedata.frame with the requested variables at the requested geography.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.