Learn R Programming

BLSloadR (version 0.4)

list_ces_industries: List Available Industry Filters for CES Data

Description

Lists all available industry categories that can be used with the `industry_filter` parameter in `get_ces()` function. These filters allow you to download specific industry data instead of the complete dataset.

Usage

list_ces_industries(show_descriptions = FALSE)

Value

A character vector of industry filter names, or a data frame with names and descriptions if show_descriptions = TRUE

Arguments

show_descriptions

Logical. If TRUE, returns a data frame with filter names and descriptions. If FALSE, returns just the filter names.

Examples

Run this code
# See all available industry filters
list_ces_industries()

# See filters with descriptions
list_ces_industries(show_descriptions = TRUE)

# Use with get_ces
# manufacturing_data <- get_ces(industry_filter = "manufacturing")  # All states

Run the code above in your browser using DataLab