View source: R/get_series_table.R
get_series_tables | R Documentation |
Retrieve multiple time series as in one API request as tibbles
get_series_tables(
series_ids,
api_key = bls_get_key(),
start_year = NULL,
end_year = NULL,
year_limit = NULL,
parse_values = TRUE,
...
)
series_ids |
a list or character vector of BLS time-series IDs. If the items are named then the names will be used in the returned list |
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 |
... |
Arguments passed on to
|
a list of tibbles. Series requests which return observations will be
a tibble. Series with no observations will be NA
Other blsR-requests:
bls_request()
,
get_all_surveys()
,
get_latest_observation()
,
get_n_series_table()
,
get_n_series()
,
get_popular_series()
,
get_series_table()
,
get_series()
,
get_survey_info()
,
reduce_spanned_responses()
,
span_series_request()
## Not run:
blsr_set_key('your-api-key-here-xxxxxxxxxxxxxx')
get_series_tables(
list(uer.men ='LNS14000001', uer.women = 'LNS14000002')
)
get_series_tables(
list(uer.men ='LNS14000001', uer.women = 'LNS14000002'),
2005,2006
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.