Skip to contents

Easy way to list the 2-digit NAICS (17 categories), or other level

Usage

naics_categories(digits = 2, dataset = EJAM::NAICS)

Arguments

digits

default is 2, for 2-digits NAICS, the top level, but could be up to 6.

dataset

Should default to the dataset called NAICS, installed with this package. see NAICS Check attr(NAICS, 'year')

Value

matrix with 1 column of 2-digit codes and rownames that look like "22 - Utilities" etc.

Details

Also see https://www.naics.com/search/

There are this many NAICS codes roughly by number of digits in the code:

table(nchar(NAICS))

2 3 4 5 6

17 99 311 709 1057

See https://www.census.gov/naics/

Examples

 naics_categories()