swap_geo_id: Return desired geography variable from FIPS or abbreviation

Description Usage Arguments Value

View source: R/validators.R

Description

Return desired geography variable from FIPS or abbreviation

Usage

1
swap_geo_id(geo, span, type = c("name", "abb", "fips"))

Arguments

geo

[character(1)]: The 2-letter abbreviation for the state for which data will be downloaded. For geogrpahies that do not nest within states, use "US".

span

[integer(1)]: The span of years for ACS estimates. ACS 1-year, and 5-year surveys are supported.

type

[character(1)]: type of geogrphy ID to return ("name", "abb", or "fips")

Value

Character(1) of either geography name, abbreviation, or FIPS code.


austensen/acssf documentation built on Nov. 18, 2020, 4:44 a.m.