Learn R Programming

tidycensus (version 0.9.2)

fips_codes: Dataset with FIPS codes for US states and counties

Description

Built-in dataset for smart state and county lookup. To access the data directly, issue the command data(fips_codes).

  • county: County name, title-case

  • county_code: County code. (3-digit, 0-padded, character)

  • state: Upper-case abbreviation of state

  • state_code: State FIPS code (2-digit, 0-padded, character)

  • state_name: Title-case name of state

Usage

data(fips_codes)

Arguments

Format

An object of class data.frame with 3237 rows and 5 columns.

Details

Dataset with FIPS codes for US states and counties

Built-in dataset for use with the lookup_code function. To access the data directly, issue the command data(fips_codes).