county_fips: Return a dataframe of county FIPS codes by state.

View source: R/county_fips.R

county_fipsR Documentation

Return a dataframe of county FIPS codes by state.

Description

Returns a data frame that uses data from the US Census FIPS code list.

Built-in dataset for use with the bls_map function. To access the data directly, issue the command datacounty_fips).

  • state: State name

  • fips_state: FIPS code for State

  • fips_county: FIPS code for County

  • county: County name

  • type: type

Usage

county_fips(state, ...)

data(county_fips)

Arguments

state

= A string containing a standard state short abbreviation, i.e. FL, WA, OH, etc.

...

additional arguments

Format

A data frame with 3235 rows and 5 variables

Value

A tibble from the BLS API.

Note

Last updated 2024-03-13

Examples

## Not run: 
## Get historical USD values based on a 2010 dollar.
values <- county_fips(state = "FL")

## End(Not run)


blscrapeR documentation built on May 29, 2024, 1:34 a.m.