Takes some basic geographic information along with the table/field and dataset to grab tables from the CO Demography Office cleaned Census databases.
1 2 3 | codemog_api(datacall = "table", data, db = "c2010", geonum = "108",
sumlev = NULL, state = "08", type = "csv", meta = "yes",
geography = "geonum")
|
datacall |
table or field based on call, field if specific column, table for all Defaults to table |
data |
number of either a census product table or table and field number based on the datacall |
db |
database c1980, c1990, c2000, c2010 for Census Data, acs0812 or acs0913 for ACS data |
geonum |
a geographic identifier created by 1 followed by a State FIPS and a PLace/County FIPS Defaults to 108 |
sumlev |
can be used to call all geographies in a summary level (See Census for Definitions) Defaults to NULL |
type |
can siwtch between JSON and CSV for output format (pretty much use CSV only) Defaults to CSV |
meta |
a command that indicates whether include feild and table meta data in line 2 Defaults to yes |
geography |
is a switch that chooses use of a geonum for one area or a summary level for a specific type Defaults to geonum |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.