query_series: Create a query for a single time series

View source: R/queries.R

query_seriesR Documentation

Create a query for a single time series

Description

Create a query for a single time series

Usage

query_series(series_id, start_year = NULL, end_year = NULL)

Arguments

series_id

Character scalar BLS series ID

start_year, end_year

numeric 4-digit years. While optional, they are strongly recommended. If one is provided, the other is mandatory. end_year must be greater than start_year

Value

list of query parameters

See Also

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

Examples


unemployment_rate_query <- query_series('LNS14000000')
unemployment_rate_query <- query_series('LNS14000000', 2005, 2010)


blsR documentation built on July 9, 2023, 5:29 p.m.