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()
Examples
naics_categories()
#> Also see https://www.naics.com/search/
#> [,1]
#> 11 - Agriculture, Forestry, Fishing and Hunting 11
#> 21 - Mining, Quarrying, and Oil and Gas Extraction 21
#> 22 - Utilities 22
#> 23 - Construction 23
#> 42 - Wholesale Trade 42
#> 51 - Information 51
#> 52 - Finance and Insurance 52
#> 53 - Real Estate and Rental and Leasing 53
#> 54 - Professional, Scientific, and Technical Services 54
#> 55 - Management of Companies and Enterprises 55
#> 56 - Administrative and Support and Waste Management and Remediation Services 56
#> 61 - Educational Services 61
#> 62 - Health Care and Social Assistance 62
#> 71 - Arts, Entertainment, and Recreation 71
#> 72 - Accommodation and Food Services 72
#> 81 - Other Services (except Public Administration) 81
#> 92 - Public Administration 92
#> 31 - Manufacturing 31
#> 32 - Manufacturing 32
#> 33 - Manufacturing 33
#> 44 - Retail Trade 44
#> 45 - Retail Trade 45
#> 48 - Transportation and Warehousing 48
#> 49 - Transportation and Warehousing 49