Description Usage Arguments Value Examples
Determine categories included in NAICS-based ranges
1 2 | ranges_to_set_6digit(naics_ranges, version = NA_character_,
listing = NULL)
|
version |
length-1 character indicating version |
listing |
dataframe or character vector with naics code information Only one of 'version' and 'listing' should be supplied. This version specifically deals with ranges (possibly comma delimited) such as are found in BEA IO table data. Trims any *'s. E.g., "123456-8, 111111" -> "123456", "123457", "123458", "111111" |
naics_code |
character vector of possibly valid codes |
list of character vectors representing the set for each range. For standard codes, same is returned, (for invalid codes, NA is returned??).
1 2 3 4 5 6 | naics_ranges <- io_conc_raw_2002$naics_2002_ranges[1:5]
listing <- naicsmatch::naics_2002_listing
ranges_to_set_6digit(
io_conc_raw_2002$naics_2002_ranges[1:5],
listing = naicsmatch::naics_2002_listing
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.