query_n_series | R Documentation |
Create a query to retrieve one or more time series and their catalog data
query_n_series(
series_ids,
start_year = NULL,
end_year = NULL,
catalog = FALSE,
calculations = FALSE,
annualaverage = FALSE,
aspects = FALSE
)
series_ids |
Character vector of BLS series IDs |
start_year, end_year |
numeric 4-digit years. While optional, they are
strongly recommended. If one is provided, the other is mandatory. |
catalog |
boolean. If set to |
calculations |
boolean. If set to |
annualaverage |
boolean. If set to |
aspects |
boolean. If set to |
list of query parameters
Other blsR-queries:
query_all_surveys()
,
query_latest_observation()
,
query_popular_series()
,
query_series()
,
query_survey_info()
,
span_request_queries()
a <- query_n_series(c('LNS14000001', 'LNS14000002'))
b <- query_n_series(c('LNS14000001', 'LNS14000002'), start_year = 2005, end_year=2010)
c <- query_n_series(c('LNS14000001', 'LNS14000002'), 2005, 2010)
d <- query_n_series(c('LNS14000001', 'LNS14000002'), catalog=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.