query_n_series {blsR} | R Documentation |
Create a query to retrieve one or more time series and their catalog data
Description
Create a query to retrieve one or more time series and their catalog data
Usage
query_n_series(
series_ids,
start_year = NULL,
end_year = NULL,
catalog = FALSE,
calculations = FALSE,
annualaverage = FALSE,
aspects = FALSE
)
Arguments
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 |
Value
list of query parameters
See Also
Other blsR-queries:
query_all_surveys()
,
query_latest_observation()
,
query_popular_series()
,
query_series()
,
query_survey_info()
,
span_request_queries()
Examples
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)