Description Usage Arguments Details Examples
ces_emp
downloads pre-packaged national employment data from the CES database.
1 | ces_emp(bls_key, series = "nfp", start_year, end_year, adjustment = "S")
|
bls_key |
BLS API key for the user. See vignette. |
series |
Character. Data series. Either non-farm payrolls ("nfp"), private payrolls ("private"), supersector payrolls ("super"), or sector payrolls ("sector"). Defaults to non-farm payrolls ("nfp"). |
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. Defaults to seasonally adjusted ("S"). |
This function downloads and cleans pre-packaged employment data from the CES database. The user has four choices of employment data: non-farm payrolls, private payrolls, super sector payrolls, or sector payrolls. The employment data is at the national level.
1 | ces_df = ces_emp(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.