- states
Character vector of state abbreviations to download (e.g., c("MA", "NY", "CA")).
If specified, downloads only these states (all industries, all years).
Cannot be combined with industry_filter or current_year_only.
Use `list_ces_states()` to see all available states.
- industry_filter
Character string specifying industry category to download.
If specified, downloads this industry for all states (2007-present).
Cannot be combined with states or current_year_only.
Use `list_ces_industries()` to see all available industry filters.
- current_year_only
Logical. If TRUE, downloads the current year file
which contains all states and industries for recent years (2006-present).
Cannot be combined with states or industry_filter. If FALSE (default), uses other parameters.
- transform
Logical. If TRUE (default), converts employment values from thousands
to actual counts by multiplying by 1000 for specific data types (codes 1, 6, 26)
and removes ", In Thousands" from data type labels.
- monthly_only
Logical. If TRUE (default), filters out annual data (period M13).
- simplify_table
Logical. If TRUE (default), removes excess columns and creates
a date column from Year and Period in the original data.
- suppress_warnings
Logical. If TRUE (default), suppress individual download warnings and diagnostic messages
for cleaner output during batch processing. If FALSE, returns the data and prints warnings and messages to the console.
- return_diagnostics
Logical. If FALSE (default), returns only the data. If TRUE,
returns the full bls_data_collection object with diagnostics.
- cache
Logical. Uses USE_BLS_CACHE environment variable, or defaults to FALSE. If TRUE, will download a cached file from BLS server and update cache if BLS server indicates an updated file.