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,
  start_year = NA,
  end_year = NA,
  catalog = FALSE,
  calculations = FALSE,
  annualaverage = FALSE,
  aspects = FALSE
)

Arguments

series

vector of BLS series IDs

start_year

numeric 4-digit year

end_year

numeric 4-digit year

catalog

boolean

calculations

boolean

annualaverage

boolean

aspects

boolean

Value

list of query parameters

See Also

Other blsR-queries: query_all_surveys(), query_latest_observation(), query_popular_series(), query_series(), query_survey_info()

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)



[Package blsR version 0.3.0 Index]