almanac: Geogrpahic Rankings

Description Usage Arguments Value Author(s) References

Description

Rankings of geographies on requested measures

Usage

1
2
3
4
almanac_parameters(...)

almanac(state, metric, ranking, geographyType, geographyId=NULL,
        properties=NULL, sort='asc', version=NULL, ...)

Arguments

state

A character string containing either “nation” or one state name xor numerical identification number, for example as returned by geography.

metric

One of “population” or “household”.

ranking

A ranking criterion. The set of available rankings can be retrieved from almanac_parameters.

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.

properties

Undefined.

sort

One of “asc” (the default) or “desc”, specifying the ordering of the results.

version

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

...

Additional arguments passed to curlPerform.

Value

A list containing the API response, transformed by fromJSON.

Author(s)

Thomas J. Leeper

References

Almanac API Parameters Almanac rank by geography ID within state Almanac rank by geography ID within nation Almanac rank by geography type only (hrefhttp://www.broadbandmap.gov/developer/api/almanac-api-ranking-by-geography-type-within-a-statewithin state or within nation)


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