| read_bls_excel | R Documentation |
Download BLS Excel Data
read_bls_excel(url, verbose = FALSE, ...)
url |
Character string. URL to the BLS .xlsx or .xls file. |
verbose |
Logical. If TRUE, prints diagnostic messages. |
... |
Additional arguments passed to readxl::read_excel (e.g., sheet, range). |
A data.frame or NULL if the download or read fails.
## Not run:
# Download BLS Alternative MEasures History
salt_url <- "https://www.bls.gov/lau/stalt-moave.xlsx"
salt_data <- read_bls_excel(salt_url, skip = 1)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.