list_counties function

Return a data frame of county names & FIPS codes for a given state

Return a data frame of county names & FIPS codes for a given state

list_counties(state)

Arguments

  • state: String representing the state you'd like to look up. Accepts state names (spelled correctly), e.g. "Texas", or postal codes, e.g. "TX". Can be lower-case.

Returns

data frame of county name and FIPS code or NULL if invalid state

  • Maintainer: Kyle Walker
  • License: MIT + file LICENSE
  • Last published: 2024-01-24