Package: blsR 0.5.0.9000

blsR: Make Requests from the Bureau of Labor Statistics API

Implements v2 of the B.L.S. API for requests of survey information and time series data through 3-tiered API that allows users to interact with the raw API directly, create queries through a functional interface, and re-shape the data structures returned to fit common uses. The API definition is located at: <https://www.bls.gov/developers/api_signature_v2.htm>.

Authors:Guillermo Roditi Dominguez [aut, cre]

blsR_0.5.0.9000.tar.gz
blsR_0.5.0.9000.zip(r-4.5)blsR_0.5.0.9000.zip(r-4.4)blsR_0.5.0.9000.zip(r-4.3)
blsR_0.5.0.9000.tgz(r-4.4-any)blsR_0.5.0.9000.tgz(r-4.3-any)
blsR_0.5.0.9000.tar.gz(r-4.5-noble)blsR_0.5.0.9000.tar.gz(r-4.4-noble)
blsR_0.5.0.9000.tgz(r-4.4-emscripten)blsR_0.5.0.9000.tgz(r-4.3-emscripten)
blsR.pdf |blsR.html
blsR/json (API)
NEWS

# Install 'blsR' in R:
install.packages('blsR', repos = c('https://groditi.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/groditi/blsr/issues

On CRAN:

29 exports 14 stars 1.77 score 37 dependencies 29 scripts 377 downloads

Last updated 12 months agofrom:e3c8060475. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 27 2024
R-4.5-winNOTEAug 27 2024
R-4.5-linuxNOTEAug 27 2024
R-4.4-winNOTEAug 27 2024
R-4.4-macNOTEAug 27 2024
R-4.3-winNOTEAug 27 2024
R-4.3-macNOTEAug 27 2024

Exports:bls_get_keybls_has_keybls_requestbls_set_keybls_unset_keydata_as_tabledata_as_tidy_tableget_all_surveysget_latest_observationget_n_seriesget_n_series_tableget_popular_seriesget_seriesget_series_tableget_series_tablesget_survey_infomerge_tablesmerge_tidy_tablesquery_all_surveysquery_latest_observationquery_n_seriesquery_popular_seriesquery_seriesquery_survey_inforeduce_spanned_responsesspan_request_queriesspan_series_requesttidy_periodstidy_table_as_zoo

Dependencies:askpassbitbit64clicliprcpp11crayoncurldplyrfansigenericsgluehmshttrjsonlitelifecyclemagrittrmimeopensslpillarpkgconfigprettyunitsprogresspurrrR6readrrlangstringistringrsystibbletidyselecttzdbutf8vctrsvroomwithr

Readme and manuals

Help Manual

Help pageTopics
Retrieve Data From the U.S. Bureau Of Labor Statistics API v2bls_request
Managing API keysbls-api-key bls_get_key bls_has_key bls_set_key bls_unset_key
blsR: Retrieve Data From the U.S. Bureau Of Labor Statistics APIblsR
Convert a list of data entries as returned by BLS API to a tabledata_as_table
Convert a list of data entries as returned by BLS API to a tabledata_as_tidy_table
Create and execute a query to retrieve all surveysget_all_surveys
Create and execute a query to retrieve the latest observation for a seriesget_latest_observation
Create and execute a query to retrieve one or more time series and their catalog dataget_n_series
Retrieve multiple time series in one API request and return a single tibbleget_n_series_table
Create and execute a query to retrieve popular seriesget_popular_series
Create and execute query for a single time seriesget_series
Retrieve a time series from BLS API as a tibbleget_series_table
Retrieve multiple time series as in one API request as tibblesget_series_tables
Create and execute a query to retrieve information about a surveyget_survey_info
Turn a list of one or more series into a single table of time series datamerge_tables
Turn a list of one or more series into a single table of time series datamerge_tidy_tables
Create a query to retrieve all surveysquery_all_surveys
Create a Query to retrieve the latest observation for a time seriesquery_latest_observation
Create a query to retrieve one or more time series and their catalog dataquery_n_series
Create a query to retrieve popular seriesquery_popular_series
Create a query for a single time seriesquery_series
Create a query to retrieve information about a surveyquery_survey_info
Reduce the multiple spanned responses into a list of seriesreduce_spanned_responses
Generate multiple queries that don't exceed a year limitspan_request_queries
Break up a long request into multiple API callsspan_series_request
Clean the period information returned by BLStidy_periods
Convert a single series or n series tables into a zoo objecttidy_table_as_zoo