jolts_seps: Download separations data from the Job Opening and Labor...

Description Usage Arguments Details Examples

View source: R/jolts.R

Description

jolts_seps downloads pre-packaged separations data from the JOLTS database.

Usage

1
2
3
4
5
6
7
8
jolts_seps(
  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 separations ("nfp"), private separations ("private"), supersector separations ("super"), or sector separations ("sector"). Defaults to non-farm separations.

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 separations data from the JOLTS database. The user has three choices for separations data: non-farm separations, private separations, or super sector hiring. The data is formatted in terms of rates as a default ot be similar to the quoted JOLTS series. Separations is equal to the sum of layoffs, quits, and other separations. The function reflects the October 2020 update to the JOLTS data series.

Examples

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

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