Skip to contents

Get the state abbreviation for a FIPS code

Usage

fips_abbr(fip)

Arguments

fip

2-digit or 5-digit FIPS code

Value

a character vector

Examples

fipio::fips_abbr("37")
#> [1] "NC"
fipio::fips_abbr("06001")
#> [1] "CA"