Break up a long request into multiple API calls
span_series_request(start_year, end_year, year_limit, query_fn, ...)a list of API responses (what comes back from bls_re)
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
positive integer
a function or closure that takes two arguments, start_year
and end_year, and returns a query (see purrr::partial())
additional arguments to pass to bls_request()
Other blsR-requests:
bls_request(),
get_all_surveys(),
get_latest_observation(),
get_n_series_table(),
get_n_series(),
get_popular_series(),
get_series_tables(),
get_series_table(),
get_series(),
get_survey_info(),
reduce_spanned_responses()
Other blsR-utils:
bls-api-key,
data_as_table(),
data_as_tidy_table(),
merge_tables(),
merge_tidy_tables(),
reduce_spanned_responses(),
span_request_queries(),
tidy_periods(),
tidy_table_as_zoo()