Interface to the Bureau of Labor Statistics API
Author
Arnoud Buzing
Title
Interface to the Bureau of Labor Statistics API
Description
Programmatic access to BLS data
Category
Educational Materials
Keywords
bls, labor, statistics
URL
http://www.notebookarchive.org/2021-09-1fy2rtc/
DOI
https://notebookarchive.org/2021-09-1fy2rtc
Date Added
2021-09-03
Date Last Modified
2021-09-03
File Size
1.14 megabytes
Supplements
Rights
Redistribution rights reserved



Bureau of Labor Statistics
Bureau of Labor Statistics
Data API Functions
by Arnoud Buzing
◼
◼
All functions in this notebook use an access key to make requests.
◼
This access key should be stored as a SystemCredential as follows:
SystemCredential["BLS"]="your-access-key";
Tools
Tools
Surveys
Surveys
◼
A survey is the top level type of statistic that the BLS collects.
◼
All surveys have a two letter code.
All Surveys
All Surveys
In[]:=
AllSurveys[]:=Dataset[URLReadJSON["https://api.bls.gov/publicAPI/v2/surveys"]["Results","survey"]]
Example usage:
In[]:=
AllSurveys[]
Out[]=
|
Single Survey
Single Survey
Series
Series
◼
Series contain the actual data for a survey.
◼
Series IDs start with a survey code.
◼
After the survey code is an alpha-numerical identifier that is explained here. There are many available identifiers and they are explained in detail in the following locations:
Popular Series
Popular Series
Single Series
Single Series
Multiple Series
Multiple Series


Cite this as: Arnoud Buzing, "Interface to the Bureau of Labor Statistics API" from the Notebook Archive (2021), https://notebookarchive.org/2021-09-1fy2rtc

Download

