jolts_openings: Download job openings data from the Job Opening and Labor...

Description Usage Arguments Details Examples

View source: R/jolts.R

Description

jolts_openings downloads pre-packaged openings data from the JOLTS database.

Usage

1
2
3
4
5
6
7
8
jolts_openings(
  bls_key,
  series = "nfp",
  start_year,
  end_year,
  adjustment,
  data_levels = "L"
)

Arguments

bls_key

BLS API key for the user. See vignette.

series

Character. Data series. Either non-farm openings ("nfp"), private openings ("private"), supersector openings ("super"), or sector openings ("sector"). Defaults to non-farm openings.

start_year

Numeric. Year to start data download.

end_year

Numeric. Year to end data download.

adjustment

Character vector. Seasonal adjustment ("S") or not ("U") or both.

data_levels

String. Rate ("R") or level ("L"). Defaults to level as reported by JOLTS.

Details

This function downloads and cleans pre-packaged job openings data from the JOLTS database. The user has three choices for openings data: non-farm openings, private openings, or super sector hiring. The data is formatted in terms of levels by default to be similar to the quoted JOLTS series. The function reflects the October 2020 update to the JOLTS data series.

Examples

1
jolts_df = jolts_openings(Sys.getenv("BLS_KEY"), "nfp", 2010, 2015, "U")

davidsovich/blsr documentation built on March 23, 2021, 5:31 a.m.