jolts_hires: Download hiring data from the Job Opening and Labor Turnover...

Description Usage Arguments Details Examples

View source: R/jolts.R

Description

jolts_hires downloads pre-packaged hiring data from the JOLTS database.

Usage

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

Arguments

bls_key

BLS API key for the user. See vignette.

series

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

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 rate as reported by JOLTS.

Details

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

Examples

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

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