diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index 1c140470..7fcaefe1 100644 --- a/docs/pkgdown.yml +++ b/docs/pkgdown.yml @@ -2,7 +2,7 @@ pandoc: 2.7.3 pkgdown: 2.0.2 pkgdown_sha: ~ articles: {} -last_built: 2022-01-24T17:07Z +last_built: 2022-01-29T01:01Z urls: reference: https://ncss-tech.github.io/soilDB/reference article: https://ncss-tech.github.io/soilDB/articles diff --git a/docs/reference/Rplot004.png b/docs/reference/Rplot004.png index 489de55a..0cca6d6a 100644 Binary files a/docs/reference/Rplot004.png and b/docs/reference/Rplot004.png differ diff --git a/docs/reference/Rplot005.png b/docs/reference/Rplot005.png index f110542e..2327b861 100644 Binary files a/docs/reference/Rplot005.png and b/docs/reference/Rplot005.png differ diff --git a/docs/reference/SoilWeb_spatial_query.html b/docs/reference/SoilWeb_spatial_query.html index b04a666e..bbe507fc 100644 --- a/docs/reference/SoilWeb_spatial_query.html +++ b/docs/reference/SoilWeb_spatial_query.html @@ -109,7 +109,7 @@

Examples

SoilWeb_spatial_query(coords=c(-121, 38)) } #> ogc_fid areasymbol musym mukey soilweb_last_update dist_meters -#> 1 1493734 ca077 220 462112 2021-09-09 92.17456302 +#> 1 1493094 ca077 220 462112 2021-09-09 92.17456302 # } diff --git a/docs/reference/fetchOSD.html b/docs/reference/fetchOSD.html index a95bf8f8..9415aab3 100644 --- a/docs/reference/fetchOSD.html +++ b/docs/reference/fetchOSD.html @@ -88,7 +88,8 @@

Details

empirical probabilities for parent material kind, derived from the current SSURGO snapshot

pmorigin

empirical probabilities for parent material origin, derived from the current SSURGO snapshot

mlra

empirical MLRA membership values, derived from the current SSURGO snapshot

climate
-

experimental climate summaries from PRISM stack (CONUS only)

metadata
+

experimental climate summaries from PRISM stack (CONUS only)

NCCPI
+

select quantiles of NCCPI and Irrigated NCCPI, derived from the current SSURGO snapshot

metadata

metadata associated with SoilWeb cached summaries

When using extended = TRUE, there are a couple of scenarios in which series morphology contained in SPC do not fully match records in the associated series summaries (e.g. competing).
1. A query for soil series that exist entirely outside of CONUS (e.g. PALAU).

- Climate summaries are empty data.frames because these summaries are currently generated from PRISM. We are working on a solution that uses DAYMET.

2. A query for data within CONUS, but OSD morphology missing due to parsing error (e.g. formatting, typos).

- Extended summaries are present but morphology missing from SPC. A warning is issued.

These last two cases are problematic for analysis that makes use of morphology and extended data, such as outlined in this tutorial on competing soil series. @@ -139,7 +140,7 @@

Examples

} } -#> List of 16 +#> List of 17 #> $ SPC :Formal class 'SoilProfileCollection' [package "aqp"] with 9 slots #> $ competing :'data.frame': 84 obs. of 3 variables: #> $ geog_assoc_soils:'data.frame': 77 obs. of 2 variables: @@ -155,7 +156,8 @@

Examples

#> $ mlra :'data.frame': 52 obs. of 4 variables: #> $ climate.annual :'data.frame': 88 obs. of 12 variables: #> $ climate.monthly :'data.frame': 264 obs. of 14 variables: -#> $ soilweb.metadata:'data.frame': 20 obs. of 2 variables: +#> $ NCCPI :'data.frame': 11 obs. of 16 variables: +#> $ soilweb.metadata:'data.frame': 21 obs. of 2 variables: # } diff --git a/docs/reference/fetchSDA_spatial.html b/docs/reference/fetchSDA_spatial.html index efbdfe5b..03020c09 100644 --- a/docs/reference/fetchSDA_spatial.html +++ b/docs/reference/fetchSDA_spatial.html @@ -123,15 +123,15 @@

Examples

head(fetchSDA_spatial(x = "2x8l5", by="nmusym", add.fields="muname")) } #> Using 1 chunks... -#> Chunk #1 completed (n = 1; 1 secs) -#> Done in 1 secs; mean/chunk: 1 secs; mean/symbol: 1.01 secs. +#> Chunk #1 completed (n = 1; 1.1 secs) +#> Done in 1.1 secs; mean/chunk: 1.1 secs; mean/symbol: 1.07 secs. #> Using 1 chunks... -#> Chunk #1 completed (n = 3; 1.1 secs) -#> Done in 1.4 secs; mean/chunk: 1.1 secs; mean/symbol: 0.46 secs. +#> Chunk #1 completed (n = 3; 0.7 secs) +#> Done in 0.9 secs; mean/chunk: 0.7 secs; mean/symbol: 0.3 secs. #> Loading required package: sp #> Using 1 chunks... -#> Chunk #1 completed (n = 3; 0.8 secs) -#> Done in 1 secs; mean/chunk: 0.8 secs; mean/symbol: 0.32 secs. +#> Chunk #1 completed (n = 3; 0.5 secs) +#> Done in 0.7 secs; mean/chunk: 0.5 secs; mean/symbol: 0.24 secs. #> class : SpatialPolygonsDataFrame #> features : 6 diff --git a/docs/reference/fetchSoilGrids.html b/docs/reference/fetchSoilGrids.html index 9498d1a2..44f29724 100644 --- a/docs/reference/fetchSoilGrids.html +++ b/docs/reference/fetchSoilGrids.html @@ -114,8 +114,7 @@

Examples

if (!inherits(x, 'try-error')) plotSPC(x, name = NA, color = "socQ50") } -#> Error in httr::content(response, as = "text", encoding = "UTF-8") : -#> is.response(x) is not TRUE + # } diff --git a/docs/reference/fetchVegdata.html b/docs/reference/fetchVegdata.html index e249decd..9088cb36 100644 --- a/docs/reference/fetchVegdata.html +++ b/docs/reference/fetchVegdata.html @@ -44,7 +44,7 @@
@@ -57,6 +57,61 @@

Get vegetation plot data from local NASIS database

SS = TRUE, stringsAsFactors = default.stringsAsFactors(), dsn = NULL +) + +get_vegplot_from_NASIS_db( + SS = TRUE, + stringsAsFactors = default.stringsAsFactors(), + dsn = NULL +) + +get_vegplot_location_from_NASIS_db( + SS = TRUE, + stringsAsFactors = default.stringsAsFactors(), + dsn = NULL +) + +get_vegplot_trhi_from_NASIS_db( + SS = TRUE, + stringsAsFactors = default.stringsAsFactors(), + dsn = NULL +) + +get_vegplot_species_from_NASIS_db( + SS = TRUE, + stringsAsFactors = default.stringsAsFactors(), + dsn = NULL +) + +get_vegplot_transect_from_NASIS_db( + SS = TRUE, + stringsAsFactors = default.stringsAsFactors(), + dsn = NULL +) + +get_vegplot_transpecies_from_NASIS_db( + SS = TRUE, + stringsAsFactors = default.stringsAsFactors(), + dsn = NULL +) + +get_vegplot_tree_si_summary_from_NASIS_db( + SS = TRUE, + stringsAsFactors = default.stringsAsFactors(), + dsn = NULL +) + +get_vegplot_tree_si_details_from_NASIS_db( + SS = TRUE, + stringsAsFactors = default.stringsAsFactors(), + dsn = NULL +) + +get_vegplot_textnote_from_NASIS_db( + SS = TRUE, + fixLineEndings = TRUE, + stringsAsFactors = default.stringsAsFactors(), + dsn = NULL )
@@ -72,6 +127,8 @@

Arguments

dsn

Optional: path to local SQLite database containing NASIS table structure; default: NULL

+
fixLineEndings
+

Replace '\r\n' with '\n'; Default: TRUE

Value

diff --git a/docs/reference/index.html b/docs/reference/index.html index 0cbdc304..9cf24f8b 100644 --- a/docs/reference/index.html +++ b/docs/reference/index.html @@ -123,7 +123,7 @@

All functions

Get SoilGrids 250m properties information from point locations

-

fetchVegdata()

+

fetchVegdata() get_vegplot_from_NASIS_db() get_vegplot_location_from_NASIS_db() get_vegplot_trhi_from_NASIS_db() get_vegplot_species_from_NASIS_db() get_vegplot_transect_from_NASIS_db() get_vegplot_transpecies_from_NASIS_db() get_vegplot_tree_si_summary_from_NASIS_db() get_vegplot_tree_si_details_from_NASIS_db() get_vegplot_textnote_from_NASIS_db()

Get vegetation plot data from local NASIS database

diff --git a/docs/reference/loafercreek-4.png b/docs/reference/loafercreek-4.png index 3464759d..66f999df 100644 Binary files a/docs/reference/loafercreek-4.png and b/docs/reference/loafercreek-4.png differ diff --git a/docs/reference/loafercreek-5.png b/docs/reference/loafercreek-5.png index 87f9e0c2..b6239bfd 100644 Binary files a/docs/reference/loafercreek-5.png and b/docs/reference/loafercreek-5.png differ