codemog_api: Links R to the URL based REST API for the CO Demography...

Description Usage Arguments

View source: R/codemog_api.r

Description

Takes some basic geographic information along with the table/field and dataset to grab tables from the CO Demography Office cleaned Census databases.

Usage

1
2
3
codemog_api(datacall = "table", data, db = "c2010", geonum = "108",
  sumlev = NULL, state = "08", type = "csv", meta = "yes",
  geography = "geonum")

Arguments

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


robkemp/codemog documentation built on May 27, 2019, 11:57 a.m.