Skip to contents

FIPS - Get ALL county fips in specified states

Usage

fips_counties_from_state_abbrev(ST)

Arguments

ST

vector of state abbreviations like c("NY","GA"), ignoring case

Value

vector of 5-digit character string county FIPS of all unique counties in those states

Examples

  fips_counties_from_state_abbrev("DE")
#> [1] "10001" "10003" "10005"
  fips_counties_from_state_abbrev("RI", "RI")
#> Error in fips_counties_from_state_abbrev("RI", "RI"): unused argument ("RI")