This is a helper function to create a list with the additional class 'bls_data_collection' containing data downloaded form the U.S. Bureau of Labor Statistics as well as diagnostic details about the download. It is used invisibly in the package to bundle information about file downloads.
create_bls_object(
data,
downloads,
data_type = "BLS",
processing_steps = character(0)
)A bls_data_collection object
The processed data (data.table/data.frame)
List of download results from fread_bls()
Character string describing the type of BLS data (e.g., "CES", "JOLTS", "CPS")
Character vector describing processing steps applied