read_bls_excel: Download BLS Excel Data

View source: R/fread_BLS.R

read_bls_excelR Documentation

Download BLS Excel Data

Description

Download BLS Excel Data

Usage

read_bls_excel(url, verbose = FALSE, ...)

Arguments

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).

Value

A data.frame or NULL if the download or read fails.

Examples

## 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)


BLSloadR documentation built on April 23, 2026, 9:07 a.m.