Repository navigation
SoilTaxonomy v0.2.3
SoilTaxonomy 0.2.3 (2023-03-10)
- Fix unintended case-sensitivity of
FormativeElements(); thanks to Shawn Salley (@swsalley) - Fix for
extractSMR()via fix forFormativeElements()applied at multiple levels (affects taxa above subgroup level) - Add
level_hierarchy()a helper function for creating ordered factors related to the levels: "order", "suborder", "greatgroup", "subgroup", "family". - Taxon code lookup tables are now cached in the package environment (
SoilTaxonomy.env) after the first time they are used for a moderate boost in performance in scenarios callingtaxon_code_to_taxon()ortaxon_to_taxon_code()many times getTaxonAtLevel()now supports multiplelevelvalues. In this case, a data.frame with column for eachlevelis returned. Thanks to Meyer Bohn (@MollicMeyer) in #42 for suggestion.- Added
taxonTree()a method for creatingdata.treeobjects (added to Suggests). This function returns a custom SoilTaxonomy-specific subclass ofdata.treeNodecalledSoilTaxonNode.- This new class has a custom print method, and in the future there may be more dedicated functions for viewing and traversing the taxonomic hierarchy.
- Added
ST_higher_taxa_codes_13ththe 13th edition analog ofST_higher_taxa_codes_12th, which is the Keys to Soil Taxonomy taxon list and corresponding letter codes. This lookup table is used internally for many things related to the hierarchy of taxonomy. It has not been integrated into other datasets (pending next NASIS data model update in several months). Incorporating the edition of taxonomy will be a significant change when implemented (and may contain breaking changes to code-lookup tools).
What's Changed
Full Changelog: 0.2.2...0.2.3