tomhopper/blscrapeRplus: Provides an interface to blscrapeR::bls_api() that downloads all data between two years

Provides a wrapper for blscrapeR::bls_api() to simplify downloading and saving data series. Where bls_api() will return only a range of years supported by a single call to the BLS' API (Up to 20 years for calls with a registered API key, and 10 years without one), get_bls_data() and load_bls_data() will return all data between two years, or all available data, in a single data frame. load_bls_data() also will save the data to an R serialized data file using saveRDS(). If the file already exists, load_bls_data() will skip downloading data from the BLS (saving time) and simply load the data from the specified file.

Getting started

Package details

AuthorThomas Hopper
MaintainerThomas Hopper <tomhopper@gmail.com>
LicenseMIT + file LICENSE
Version1.1.2
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("tomhopper/blscrapeRplus")
tomhopper/blscrapeRplus documentation built on Sept. 2, 2023, 12:30 p.m.