Description Usage Arguments Value
View source: R/dolrhealthsafety.R
This function queries the US Department of Labor Health and Safety Datasets. The datasets currently use V1 of DOL API.
1 | dol_hsd(dataset = 1, sheet = 1, key = Sys.getenv("DOL_KEY"))
|
dataset |
There are currently 13 datasets to choose from. Specify the one you want with a number from 1-13.
|
sheet |
For each dataset chosen, there are sub sheets within them. You must specify which sub-sheet you want. For example, if you chose Gulf Oil Spill, there are the subsheets, 1) OSHA_Direct_Read_Sampling Table as well as 2) OSHA_NOISE_REPORT Table. |
key |
The API key for this user. You must go to the DOL and sign up for an account and request for an API key. |
A dataframe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.