596050 / sic

MIT License
2 stars 0 forks source link

Division Structure #1

Open M-Shahbaz opened 3 years ago

M-Shahbaz commented 3 years ago

Can we use like Division Structure, by grouping major groups together?: https://www.osha.gov/data/sic-manual

596050 commented 3 years ago

Yes, we could add that, do you have any ideas for getting functions? Are these the divisions you would expect?

"{\"Agriculture, Forestry and Fishing\":{},\"Mining and Quarrying\":{},\"Manufacturing\":{},\"Electricity, gas, steam and air conditioning supply\":{},\"Water supply, sewerage, waste management and remediation activities\":{},\"Construction\":{},\"Wholesale and retail trade; repair of motor vehicles and motorcycles\":{},\"Transportation and storage\":{},\"Accommodation and food service activities\":{},\"Information and communication\":{},\"Financial and insurance activities\":{},\"Real estate activities\":{},\"Professional, scientific and technical activities\":{},\"Administrative and support service activities\":{},\"Public administration and defence; compulsory social security\":{},\"Education\":{},\"Human health and social work activities\":{},\"Arts, entertainment and recreation\":{},\"Other service activities\":{},\"Activities of households as employers; undifferentiated goods- and services-producing activities of households for own use\":{},\"Activities of extraterritorial organisations and bodies\":{}}"
596050 commented 3 years ago

@M-Shahbaz, does this address your request? https://github.com/596050/sic/pull/2

M-Shahbaz commented 3 years ago

@596050 thanks for the quick response, this is great, also is it possible if we could get all divisions e.g: getDivisions() And then codes and descriptions under a division e.g: getCodesAndDescriptionsByDivision("Agriculture, Forestry and Fishing")