Description Usage Arguments Value Examples
A function takes a year, quarter, and industry code and returns a data frame containing the associated industry data.
1 | get_industry(year, qtr, industry)
|
year |
(character, or numeric) Possible values: "1990", "1991", ..., "2015". |
qtr |
(character, or numeric) Possible values: "1", "2", "3", "4", and "a" for annual average. |
industry |
(character, or numeric) Some industry codes contain hyphens. The CSV files use underscores instead of hyphens. So 31-33 becomes 31_33. Possible values: http://www.bls.gov/cew/doc/titles/industry/industry_titles.htm |
Return a tibble, i.e., modern data frame.
1 2 3 4 5 | ## Not run:
construction = qcewAPI::get_industry("2013", "1", "1012")
construction = qcewAPI::get_industry(2013, 1, 1012)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.