demographics: Demographics information

Description Usage Arguments Value Author(s) References

Description

Return demographic information by a long/lat, state, or other geography name

Usage

1
demographics(geographyType=NULL, geographyId=NULL, geographyName=NULL, lat=NULL, long=NULL, version=NULL, all=FALSE, ...)

Arguments

geographyType

A character string containing an allowed geography type: “censusplace”, “county”, “msa”, “usf”, “statesenate”, “statehouse”, “congdistrict”, “tribalnation”.

geographyId

A numeric or character value specifying a geography ID for the specified geographyType, possibly as returned by geography.

geographyName

A character string containing a place name for the specified geographyType.

lat

A latitude

long

A longitude

version

A data version, currently one of “dec2012”, “jun2012”, “dec2011”, and “jun2011”.

all

A boolean indicating whether, if a place borders two geographies, to return information about all geographies.

...

Additional arguments passed to curlPerform.

Value

A list containing the API response, transformed by fromJSON.

Author(s)

Thomas J. Leeper

References

Demographics data by coordinates Demographics data by geography ID Demographics data by geography name Demograhpics data, national


rOpenGov/usbroadband documentation built on May 26, 2019, 8:50 p.m.