From c3ec631ba3e76d335ddb9fdb8fa44ede5f167fb8 Mon Sep 17 00:00:00 2001 From: "Andrew G. Brown" Date: Mon, 27 Jun 2022 10:25:16 -0700 Subject: [PATCH] soilDB 2.7.2 --- NEWS.md | 3 ++- README.Rmd | 2 +- README.md | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/NEWS.md b/NEWS.md index eba8dbe8..c672b806 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,9 +1,10 @@ # soilDB 2.7.2 (2022-06-24) - * `fetchNASIS("components')`: Fix and refactor ( **breaking change** from 2.7.1, which introduced a bug/inconsistency) of recent change; `duplicates` argument is now _required_ to merge in data from mapunit/legend tables (where many:1 relationships between legend/mapunit and datamapunit are possible). In 2.7.1 possibly incomplete mapunit/legend tables could be joined to SoilProfileCollection result (if and only if the tables were populated in selected set/local DB). Does not change historic (<=2.7.0) default behavior. Thanks to @dylanbeaudette for suggesting use of `get_component_correlation_data_from_NASIS_db()` here. * Several fixes for Roxygen documentation (notably for `ROSETTA()` and various NASIS web report related functions) that were missing `@export` tags. Several previously-exported functions missed being explicitly exported in the new Roxygen-generate NAMESPACE. These unintentional omissions from 2.7.1 NAMESPACE have been resolved. +* Fixes an old bug in `fetchSDA()`/`get_chorizon_from_SDA()` related to LEFT OUTER versus RIGHT JOIN to `chtexture` table + # soilDB 2.7.1 (2022-06-10) - `get_SDA_coecoclass()` better handling of `NULL` `ecoclassref`; support for filtering on `ecoclasstypename`; `not_assigned_value` now applies to `ecoclassname`, `ecoclasstypename` and `ecoclassref` columns in addition to `ecoclassid`; Thanks to Andy Paolucci and Jason Nemecek. Also, added additional columns from legend/mapunit tables (`areasymbol`, `lkey`, `muname`). - `fetchNASIS(from="components")` now returns mapunit and legend information (if loaded in local NASIS database); results now contain `mustatus` and `repdmu` which can be used to remove components from additional mapunits and non-representative data mapunits; thanks to Nathan Roe diff --git a/README.Rmd b/README.Rmd index c143d8e6..29dd99d7 100644 --- a/README.Rmd +++ b/README.Rmd @@ -85,7 +85,7 @@ citation("soilDB") - [`get_SDA_muaggatt`](http://ncss-tech.github.io/soilDB/reference/get_SDA_muaggatt.html) - [`get_SDA_pmgroupname`](http://ncss-tech.github.io/soilDB/reference/get_SDA_pmgroupname.html) - [`get_SDA_property`](http://ncss-tech.github.io/soilDB/reference/get_SDA_property.html) - - [`get_SDA_coecosite`](http://ncss-tech.github.io/soilDB/reference/get_SDA_coecosite.html) + - [`get_SDA_coecoclass`](http://ncss-tech.github.io/soilDB/reference/get_SDA_coecosite.html) - [`get_SDA_metrics`](http://ncss-tech.github.io/soilDB/reference/get_SDA_metrics.html) - [`get_SDA_cosurfmorph`](http://ncss-tech.github.io/soilDB/reference/get_SDA_cosurfmorph.html) diff --git a/README.md b/README.md index dea3b259..d6d3140e 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Manual](https://img.shields.io/badge/docs-HTML-informational)](https://ncss-tech Installation ------------ -Get the stable version (2.7.1) from CRAN: +Get the stable version from CRAN: install.packages('soilDB', dependencies = TRUE) @@ -75,7 +75,7 @@ Functions by Data Source - [`get_SDA_muaggatt`](http://ncss-tech.github.io/soilDB/reference/get_SDA_muaggatt.html) - [`get_SDA_pmgroupname`](http://ncss-tech.github.io/soilDB/reference/get_SDA_pmgroupname.html) - [`get_SDA_property`](http://ncss-tech.github.io/soilDB/reference/get_SDA_property.html) - - [`get_SDA_coecosite`](http://ncss-tech.github.io/soilDB/reference/get_SDA_coecosite.html) + - [`get_SDA_coecoclass`](http://ncss-tech.github.io/soilDB/reference/get_SDA_coecoclass.html) - [`get_SDA_metrics`](http://ncss-tech.github.io/soilDB/reference/get_SDA_metrics.html) - [`get_SDA_cosurfmorph`](http://ncss-tech.github.io/soilDB/reference/get_SDA_cosurfmorph.html) - SSURGO Local Geodatabases