Skip to contents

FIPS - Get state FIPS codes from any type of FIPS codes

Usage

fips2state_fips(fips)

Arguments

fips

vector of FIPS

Value

vector of State FIPS 2 characters each

Details

Tells you which State contains each County (or tract or blockgroup or block)

Examples

  fips2state_fips(fips_counties_from_statename(c("Delaware", "Rhode Island")))
#> [1] "10" "10" "10" "44" "44" "44" "44" "44"