NAICS - Search for industry names and NAICS codes by query string
Source:R/NAICS_FUNCTIONS.R
naics_from_name.Rd
query by parts of words, etc. in the industry name.
Arguments
- mynames
query string, vector of NAICS industry names or any regular expression or partial words. See https://naics.com
- children
logical, if TRUE, also return all the subcategories - where NAICS starts with the same digits
- ignore.case
see
grepl()
- fixed
should it be an exact match? see
grepl()
Value
a subset of the naicstable data.table (not just the codes column)
Details
See naics_from_any()
which uses this
See also
naics_findwebscrape()
naics_subcodes_from_code()
naics_from_code()
naics_from_name()
naics_from_any()
Examples
data.table::fintersect(naics_from_any( "manufac"), naics_from_any("chem"))