Skip to contents

Given 3-digit NAICS code, for example, get all NAICS that start with those digits.

Usage

naics_subcodes_from_code(mycodes)

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

Examples