Description Usage Arguments Details Examples
jolts_seps
downloads pre-packaged layoffs data from the JOLTS database.
1 2 3 4 5 6 7 8 | jolts_layoffs(
bls_key,
series = "nfp",
start_year,
end_year,
adjustment,
data_levels = "R"
)
|
bls_key |
BLS API key for the user. See vignette. |
series |
Character. Data series. Either non-farm layoffs ("nfp"), private layoffs ("private"), supersector layoffs ("super"), or sector layoffs ("sector"). Defaults to non-farm layoffs. |
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. |
This function downloads and cleans pre-packaged layoffs data from the JOLTS database. The user has three choices for layoffs data: non-farm layoffs, private layoffs, or super sector hiring. The data is formatted in terms of rates by default to be similar to the quoted JOLTS series. The function reflects the October 2020 update to the JOLTS data series.
1 | jolts_df = jolts_layoffs(Sys.getenv("BLS_KEY"), "nfp", 2010, 2015, "U")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.