Skip to contents

Get the county name for a FIPS code

Usage

fips_county(fip)

Arguments

fip

2-digit or 5-digit FIPS code

Value

a character vector

Examples

fipio::fips_county("37129")
#> [1] "New Hanover"
fipio::fips_county("06001")
#> [1] "Alameda"

# 2-digit FIP codes will not work
fipio::fips_county("37")
#> [1] NA