Graunt/naics-2022-codes
NAICS 2022 codes All 2,125 codes in the 2022 U.S. edition of the North American Industry Classification System, from the 20 sectors down to the 1,012 six-digit national industries. Each row has the code, its level, title, parent, sector, and whether the Census Bureau marks it comparable across the U.S., Canada and Mexico. Two samples come with it: index_terms_sample.csv has 500 of the 20,373 Census index terms. An index term is a business phrase ("Soybean farming, field and… See the full description on the dataset page: https://huggingface.co/datasets/Graunt/naics-2022-codes.
NAICS 2022 codes
All 2,125 codes in the 2022 U.S. edition of the North American Industry Classification System, from the 20 sectors down to the 1,012 six-digit national industries. Each row has the code, its level, title, parent, sector, and whether the Census Bureau marks it comparable across the U.S., Canada and Mexico.
Two samples come with it:
index_terms_sample.csvhas 500 of the 20,373 Census index terms. An index term is a business phrase ("Soybean farming, field and seed production") mapped to the six-digit code it belongs to. It's what you search when you have a free-text description and need a code.cross_references_sample.csvhas 300 of the 4,601 cross-reference notes: the "classified elsewhere" rules that settle borderline cases.
Load it
from datasets import load_dataset
codes = load_dataset("Graunt/naics-2022-codes", "codes", split="train")Keep code as a string. Three sectors are ranges: 31-33, 44-45 and 48-49.
The full set
All 20,373 index terms, all 4,601 cross-references, and a JSONL file with every code's official definition, terms and notes in one record are in a free packet on Graunt, published by Lapidary: NAICS 2022 Industry Classification Lookup. The download needs a free Graunt account.
Source
U.S. Census Bureau, 2022 NAICS reference files (https://www.census.gov/naics/). A U.S. government work, in the public domain in the United States. Converted to CSV by Lapidary.
