This package contains an interface to the US Department of Labor API in R. The goal of this project is to provide an easy to use interface to access various open source datasets provided by the DOL. The DOL is an overarching department with various agencies under it. For example, one of the most popular, the Bureau of Labor Statistics (BLS).
Although there already exists an R package for the BLS, this provides datasets under the oversight of the DOL.
The US Department of Labor provides a web API located at https://developer.dol.gov/beginner/ where this library will pull data from.
The APIs and datasets which this library interfaces with:
- Health and Safety
- Injuries and Illness
- Gulf Oil Spill
- DOL OSHA Compliance
- MSHA Employment Production
- Mine Violation
- Fatal Occupational Injuries
- DOL OSHA Enforcement
- Auto Workers
- Safety and Health
- Full Mine Information
- Basic Mine Information
- Mine Accident Injuries
- Mine Inspections
- Wage and Hour Divisions
- Farm Labor Contractor and Farm Labor
- Contractor Employee
- Wage and Hour Publication System
- WHD Compliance
- Expanding Growth Opportunities and Learning
- OIT Initial Claims
- OUI Initial Claims V1
- IPIA V1
- Quarterly Census Employment and Wage (CEW) V1
- Occupational Employment Statistics Survey (OES) V1
- Current Population Survey (CPS) V1
- Current Employment Statistics (CES) V1
- Consumer Price Indexes (CPI) V1
- 2010 Workforce Investment Act V1
- 2010 Occupational Employment Statistics V1
- BLS Numbers V1
- Other Datasets
- Sweat and Toil
- VETS4212
- VETS100
- API Metrics (per key)
- Research And Evaluation Inventory
- Geography
- Form
- Frequently Asked Questions (FAQ)
- API Metadata
- Agency
You can install the development version from GitHub with:
# install.packages("devtools")
devtools::install_github("etam4260/dolr")
For more details on how to setup and utilize this package. Please go to https://etam4260.github.io/dolr/. Select ‘Setup’ in the navigation bar.
- Emmet Tam(https://github.com/etam4260)
- This interface uses the DOL API but is not endorsed or certified by the DOL.
- This is a WIP so please report any issues or bugs to: https://github.com/etam4260/dolr/issues
- License: MIT
- To get citation information for dolr in R, type citation(package = ‘dolr’)
- This is open source, so please fork and introduce some pull requests!