list_industries: list_industries

View source: R/list_industries.R

list_industriesR Documentation

list_industries

Description

Fetches the names of industries and associated IDs

Usage

list_industries(
  keyword = NULL,
  label_level = 3,
  label_source = "NAICS",
  only_id = FALSE,
  reverse = FALSE
)

Arguments

keyword

search for keyword in agency name

label_level

NAICS level (2 to 6-digit), default value of 3

label_source

classification standard (NAICS, BEA, SOC), default value of "NAICS"

only_id

uses the NAICS code instead of name as key of dictionary, default value of FALSE

reverse

reverses the key-value mapping, default value of FALSE

Value

Returns dictionary containing names of industries and associated IDs

Examples

## Not run: list_industries(only_id = TRUE, reverse = FALSE)

regcensus documentation built on Oct. 4, 2023, 1:07 a.m.