NAICS - find subcategories of the given overall NAICS industry code(s)
Source:R/NAICS_FUNCTIONS.R
naics_subcodes_from_code.Rd
Given 3-digit NAICS code, for example, get all NAICS that start with those digits.
Arguments
- mycodes
NAICS codes vector, of 2 to 6 digits each. See https://naics.com
Value
a subset of the naicstable data.table (not just the codes column)
Details
similar idea was naics2children() but this is more robust
See naics_from_any()
which uses this
See also
naics_subcodes_from_code()
naics_from_code()
naics_from_name()
naics_from_any()