diff --git a/articles/wcs-ssurgo.html b/articles/wcs-ssurgo.html index f76d2612..da190157 100644 --- a/articles/wcs-ssurgo.html +++ b/articles/wcs-ssurgo.html @@ -379,7 +379,7 @@
createStaticNASIS()
removed workaround for {odbc}/nanoodbc VARCHAR(MAX) columns; now can directly use DBI::dbReadTable()
for all tables via NASIS ODBC connectionfetchNASIS()
changed default behavior to mixColors = FALSE
which returns dominant condition for each moisture state rather than mixing LAB color coordinatesfetchNASIS()
changed default behavior to mixColors = FALSE
which returns dominant condition for each moisture state rather than mixing LAB color coordinates
+get_colors_from_NASIS_db()
deprecate mixColors
argument, add method
argument with options “dominant”, “mixed”, and “none”. New aggregation method "none"
returns long format representation of color data from phcolor table with no aggregation applied.CRAN release: 2024-11-05
diff --git a/pkgdown.yml b/pkgdown.yml index 5ffb3fc4..c4fe716d 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -4,7 +4,7 @@ pkgdown_sha: ~ articles: fetchNASIS: fetchNASIS.html wcs-ssurgo: wcs-ssurgo.html -last_built: 2024-11-14T23:38Z +last_built: 2024-11-14T23:56Z urls: reference: http://ncss-tech.github.io/soilDB/reference article: http://ncss-tech.github.io/soilDB/articles diff --git a/reference/fetchOSD.html b/reference/fetchOSD.html index 14919753..eddc0c85 100644 --- a/reference/fetchOSD.html +++ b/reference/fetchOSD.html @@ -155,7 +155,7 @@get_colors_from_NASIS_db(SS = TRUE, mixColors = TRUE, dsn = NULL)
get_colors_from_NASIS_db(
+ SS = TRUE,
+ method = "dominant",
+ mixColors = FALSE,
+ dsn = NULL
+)
Aggregation method to handle multiple colors per horizon and moisture state. Default "dominant"
for dominant condition (or first record) within moisture state. Other options include "mixed"
to calculate mixture using simplifyColorData()
and "none"
to do no aggregation (returns a long format representation that may have multiple values per horizon and moisture state)
should mixed colors be calculated (Default: TRUE
) where multiple colors are populated for the same moisture state in a horizon? FALSE
takes the dominant color based on colorpct
or first record based on horizon ID (phiid
) sorting for "moist" and "dry" state. Pedon Horizon Color records without a moisture state populated are ignored.
Deprecated. See method
. Should mixed colors be calculated where multiple colors are populated for the same moisture state in a horizon? Default FALSE
takes the dominant color based on colorpct
or first record based on horizon ID (phiid
) sorting for "moist" and "dry" state. Pedon Horizon Color records without a moisture state populated are ignored.
get_soilDB_env()
-#> <environment: 0x5581035bdd00>
+#> <environment: 0x55ad844929a8>