View source: R/get_series_table.R
get_series_table | R Documentation |
Retrieve a time series from BLS API as a tibble
get_series_table(
series_id,
api_key = bls_get_key(),
start_year = NULL,
end_year = NULL,
year_limit = NULL,
parse_values = TRUE,
...
)
series_id |
Character scalar BLS series ID |
api_key |
Optional. An API key string. Defaults to the value returned by
|
start_year, end_year |
numeric 4-digit years. While optional, they are
strongly recommended. If one is provided, the other is mandatory. |
year_limit |
optional number of years to paginate request by. If not
explicitly set, it will be set to 10 or 20 depending on if an |
parse_values |
optional boolean. If set to |
... |
additional arguments to pass to |
a tibble of observations or NA
if the request had zero results.
Other blsR-requests:
bls_request()
,
get_all_surveys()
,
get_latest_observation()
,
get_n_series_table()
,
get_n_series()
,
get_popular_series()
,
get_series_tables()
,
get_series()
,
get_survey_info()
,
reduce_spanned_responses()
,
span_series_request()
## Not run:
get_series_table('LNS14000001',2005,2006)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.