get_bls_state: A function that returns state-level labor statistics

View source: R/get_bls_state.R

get_bls_stateR Documentation

A function that returns state-level labor statistics

Description

A function to download and format state employment data. These data begin on January 1976 to current. NOTE: The most current data will always be at least 30 days behind the current date, and depending on the day of your query, those numbers may be estimates.

Usage

get_bls_state(date_mth = NULL, seasonality = TRUE, ...)

Arguments

date_mth

The month or months you would like data for. Accepts full month names and four-digit year.

seasonality

TRUE or FALSE. The default value is TRUE.

...

additional arguments

Value

A tibble from the BLS API.

Examples

## Not run: 
# Single series
get_bls_state(date_mth = "May 2016", seasonality = TRUE)

# Multiple series
get_bls_state(date_mth = c("April 2016", "May 2016"), seasonality = FALSE)

## End(Not run)


blscrapeR documentation built on Sept. 17, 2022, 1:05 a.m.