Skip to content

Releases: ncss-tech/SoilTaxonomy

SoilTaxonomy v0.2.4

16 Nov 19:20
Compare
Choose a tag to compare

SoilTaxonomy 0.2.4 (2023-11-16)

  • taxonTree() default markup via special.chars argument emulates fs::dir_tree() output
  • parse_family() now returns more complete information for taxa above family
    • taxminalogy column for taxa with strongly contrasting control sections now use " over " as the separator between class names.

What's Changed

  • Extend parse_family() to work with taxa above family by @brownag in #46

Full Changelog: 0.2.3...0.2.4

SoilTaxonomy v0.2.3

10 Mar 22:04
Compare
Choose a tag to compare

SoilTaxonomy 0.2.3 (2023-03-10)

  • Fix unintended case-sensitivity of FormativeElements(); thanks to Shawn Salley (@swsalley)
  • Fix for extractSMR() via fix for FormativeElements() 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 calling taxon_code_to_taxon() or taxon_to_taxon_code() many times
  • getTaxonAtLevel() now supports multiple level values. In this case, a data.frame with column for each level is returned. Thanks to Meyer Bohn (@MollicMeyer) in #42 for suggestion.
  • Added taxonTree() a method for creating data.tree objects (added to Suggests). This function returns a custom SoilTaxonomy-specific subclass of data.tree Node called SoilTaxonNode.
    • 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_13th the 13th edition analog of ST_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

SoilTaxonomy 0.2.2

18 Oct 17:10
Compare
Choose a tag to compare

SoilTaxonomy 0.2.2 (2022-10-17)

  • The order of dataset ST is now based on the full subgroup level code (#35). Partial codes corresponding to each level of the hierarchy are also included in columns: order_code, suborder_code, greatgroup_code and subgroup_code.
  • New function SoilTaxonomyLevels(): used for creating ordinal and nominal factors corresponding to taxonomic levels "order", "suborder", "greatgroup", and "subgroup" (#39).
  • New function SoilMoistureRegimeLevels() and SoilTemperatureRegimeLevels(): used for creating ordinal and nominal factors corresponding to Soil Moisture and Temperature Regimes (#34).
  • FormativeElements() can now take multiple level values, returning the formative elements found at each level combined in a single data.frame.
  • New function get_ST_formative_elements() a helper function for getting a data.frame containing descriptors of formative elements used at the specified level(s)
  • New function extractSMR(): utilizes order to subgroup formative elements to identify Soil Moisture Regimes from taxon names

SoilTaxonomy 0.2.0

13 Jul 21:39
Compare
Choose a tag to compare

SoilTaxonomy 0.2.0 (2022-07-13)

  • New vignette related to soil diagnostic features and characteristics get_ST_features()
  • New function get_ST_family_classes() (the ST_family_classes analogue of ST_features/get_ST_features())
  • ST_family_classes gains information on the "aniso" particle-size class modifier
  • parse_family() now returns additional columns reflecting NASIS physical column names corresponding to components of the family-level taxonomy
    • This routine uses the NASIS metadata that are cached in the {soilDB} package, which has been added to Suggests
    • parse_family() gains flat argument (default TRUE) to toggle returning list columns for "child" table taxonomic family data such as mineralogy class and "other" taxonomic family class.

SoilTaxonomy 0.1.4

05 Aug 21:52
Compare
Choose a tag to compare

SoilTaxonomy 0.1.4 (2021-08-05)

  • Update ST_formative_elements / explainST() with subgroup-level descriptions for missing taxa

SoilTaxonomy 0.1.3

03 May 16:57
Compare
Choose a tag to compare

This is a patch release for errors related to stringsAsFactors CRAN checks on oldrel (R <4.0)

SoilTaxonomy 0.1.3 (2021-05-02)

  • Add code_to_level to abstract core from taxon_to_level for higher taxa with letter codes
  • Add getChildTaxa counterpart to getParentTaxa; getParentTaxa can now be filtered with level argument
  • Fixes for stringsAsFactors defaulting to TRUE on R <4.0

SoilTaxonomy 0.1.2

30 Apr 16:30
Compare
Choose a tag to compare

Updates since last CRAN release

SoilTaxonomy 0.1.2 (2021-04-29)

  • Extend explainST to work on Order, Suborder and Great Group taxonomic names
  • Add methods level_to_taxon and taxon_to_level to determine where taxa occur in the hierarchy
  • New data sets: ST_features, ST_family_classes for diagnostic horizons/features/properties and family-level class names and related content
  • Add parse_family method for separating family-level classes from higher taxonomic names
  • Add get_ST_features wrapper method for filtering ST_features data set
  • Add getLastChildTaxon method to determine last in Keys at specified level (Order, Suborder, or Great Group)

SoilTaxonomy 0.1.1 (2021-03-15)

  • Re-factored taxon_code_to_taxon & taxon_to_taxon_code to use LEFT JOIN
  • Added a NEWS.md file to track changes to the package

Initial CRAN release

09 Mar 20:19
Compare
Choose a tag to compare

Initial release of CRAN package