as_fips | R Documentation |
Convert a state name, abbreviation, or county name to FIPS codes
as_fips(state, county = NULL)
state |
State names, state abbreviations, or one of the following: "all", "conus", "territories" |
county |
County names or "all" |
a character
vector
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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.