From abe65807f07740c1de7399751b6842212a80c78e Mon Sep 17 00:00:00 2001 From: Beaudette Date: Tue, 5 Sep 2023 09:27:41 -0700 Subject: [PATCH] new example data, archiving associated vignette for now --- NEWS.md | 2 +- R/data-documentation.R | 8 ++ data/SPC.with.overlap.rda | Bin 0 -> 1184 bytes man/SPC.with.overlap.Rd | 16 +++ .../2020GRR014SPCdata.csv | 118 ++++++++++++++++++ .../make-overlapping-SPC-data.R | 14 +++ misc/overlapping-horizons/notes.R | 18 +-- .../overlapping-horizons.Rmd | 0 8 files changed, 159 insertions(+), 17 deletions(-) create mode 100644 data/SPC.with.overlap.rda create mode 100644 man/SPC.with.overlap.Rd create mode 100644 misc/example-data/overlapping-horizons/2020GRR014SPCdata.csv create mode 100644 misc/example-data/overlapping-horizons/make-overlapping-SPC-data.R rename {vignettes => misc/overlapping-horizons}/overlapping-horizons.Rmd (100%) diff --git a/NEWS.md b/NEWS.md index a9b1f0e51..ed56d1913 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# aqp 2.01 (2023-08-29) +# aqp 2.01 (2023-09-03) * new function `flagOverlappingHz()` for identifying horizons with perfect overlap * `fillHzGaps()`, `dice()`, `slab()`, and several other functions now safely handle horizons with perfect overlap (#296) diff --git a/R/data-documentation.R b/R/data-documentation.R index a5d6647b6..356bc90c2 100644 --- a/R/data-documentation.R +++ b/R/data-documentation.R @@ -12,6 +12,14 @@ +#' @title Example SoilProfileCollection with Overlapping Horizons +#' @description A `SoilProfileCollection` with overlapping horizons, derived from a Dynamic Soil Properties project. +#' @keywords datasets +#' @usage data(SPC.with.overlap) +#' @format A `SoilProfileCollection` +"SPC.with.overlap" + + #' @title Example Data from Wilson et al. 2022 #' @description An example `SoilProfileCollection`, derived from Wilson et al., 2022. Select data extracted from Appendix tables. #' @keywords datasets diff --git a/data/SPC.with.overlap.rda b/data/SPC.with.overlap.rda new file mode 100644 index 0000000000000000000000000000000000000000..3d07ba8d91805b9c1ff3497c6ccc9669b20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