as_fips: Convert a state name, abbreviation, or county name to FIPS...

View source: R/lookup.R

as_fipsR Documentation

Convert a state name, abbreviation, or county name to FIPS codes

Description

Convert a state name, abbreviation, or county name to FIPS codes

Usage

as_fips(state, county = NULL)

Arguments

state

State names, state abbreviations, or one of the following: "all", "conus", "territories"

county

County names or "all"

Value

a character vector

Examples

fipio::as_fips(state = "California")
fipio::as_fips(state = "NC")
fipio::as_fips(state = "Rhode Island", county = "Washington")
fipio::as_fips(c("CA", "North Carolina"), c("Stanislaus", "NEW HANOVER"))
fipio::as_fips("CONUS")
fipio::as_fips(state = "NC", county = "all")


fipio documentation built on March 18, 2022, 7:04 p.m.