query by parts of words, etc. in the industry name.
Arguments
- mynames
query string, vector of SIC industry names or any regular expression or partial words. See https://siccode.com
- children
logical, if TRUE, also return all the subcategories - where SIC starts with the same digits
- ignore.case
see
grepl()
- fixed
should it be an exact match? see
grepl()
Value
a subset of the sictable data.table (not just the codes column)
See also
sic_subcodes_from_code()
sic_from_code()
sic_from_name()
sic_from_any()
Examples
data.table::fintersect(sic_from_any( "glass"), sic_from_any("paint"))