ncss-tech / SoilTaxonomy

A System of Soil Classification for Making and Interpreting Soil Surveys
https://ncss-tech.github.io/SoilTaxonomy/
GNU General Public License v3.0
14 stars 2 forks source link

Helper function for converting data to NASIS (or other schema) columns #38

Closed brownag closed 4 days ago

brownag commented 2 years ago

I chose to use family subgroup greatgroup suborder and order in SoilTaxonomy early on because it was at the time not NASIS specific, and those names map directly to concepts without weird abbreviation inconsistencies. There was a deliberate change to replace soilorder with order when I created the R package.

New tools e.g. parse_family() allow conversion of a family name to a data.frame with all the awkward NASIS physical column names filled out.

brownag commented 2 years ago

PR with sample code for item number 2 in : https://github.com/ncss-tech/sharpshootR/pull/45

dylanbeaudette commented 2 years ago

Conversion to/from names used to describe levels of ST is a good idea. Also, allowing names in data sources to be set via argument is probably important.

brownag commented 4 days ago

Closing issue, parse_family() supports taxon names above family.

Not going to implement conversion to non-NASIS schemas at this time.