Learn R Programming

blscrapeR (version 4.0.1)

county_fips: 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)

Value

A tibble from the BLS API.

Format

A data frame with 3235 rows and 5 variables

Arguments

state

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

...

additional arguments

Examples

Run this code
if (FALSE) {
## Get historical USD values based on a 2010 dollar.
values <- county_fips(state = "FL")
}

Run the code above in your browser using DataLab