Skip to content

Commit e95198f

Browse files
committed
Rename to WRB_4th_2022
1 parent 3ec0a49 commit e95198f

6 files changed

+17
-14
lines changed

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Suggests:
2222
soilDB,
2323
ape,
2424
data.tree
25-
RoxygenNote: 7.3.1
25+
RoxygenNote: 7.3.2
2626
Roxygen: list(markdown = TRUE)
2727
VignetteBuilder: knitr
2828
LazyData: false

R/data-documentation.R

+6-4
Original file line numberDiff line numberDiff line change
@@ -102,16 +102,18 @@
102102
#'
103103
#' @details
104104
#'
105-
#' Each element has the column `"code"` which is a number (1-32) referring to the position in the Reference Soil Groups, and the column `"reference_soil_group"` which is the corresponding group name.
105+
#' Each element has the column `"code"` which is a number (1-32) referring to the position in the Reference Soil Groups, and the column `"reference_soil_group"` which is the corresponding group name. The `"pq"` and `"sq"` qualifier name columns (`primary_qualifier` and `supplementary_qualifier`) contain individual qualifier terms. Related qualifiers are identified using `qualifier_group` column derived from qualifier names separated with a forward slash `" / "`
106+
#'
106107
#' - The _data.frame_ `"rsg"` has column `"criteria"`, describing the logical criteria for each Reference Soil Group.
107-
#' - The _data.frame_ `"pq"` has qualifier names in column `"principal_qualifier"` and `"sq"` has column `"supplementary_qualifier"`. The `"pq"` and `"sq"` qualifier name columns (`primary_qualifier` and `supplementary_qualifier`) contain individual qualifier terms. Related qualifiers can be identified using `qualifier_group` column which is derived from qualifier names separated with a forward slash `" / "`
108+
#' - The _data.frame_ `"pq"` has qualifier names in column `"principal_qualifier"`
109+
#' - The _data.frame_ `"sq"` has column `"supplementary_qualifier"`.
108110
#'
109111
#' @references
110112
#'
111113
#' IUSS Working Group WRB. 2022. World Reference Base for Soil Resources. International soil classification system for naming soils and creating legends for soil maps. 4th edition. International Union of Soil Sciences (IUSS), Vienna, Austria.
112114
#'
113-
#' @usage data(wrb_4th_2022)
115+
#' @usage data(WRB_4th_2022)
114116
#'
115117
#' @keywords datasets
116118
#'
117-
"wrb_4th_2022"
119+
"WRB_4th_2022"

data-raw/wrb_4th_2022.R

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## code to prepare `wrb_4th_2022` dataset goes here
1+
## code to prepare `WRBs_4th_2022` dataset goes here
22
library(pdftools)
33

44
## SETUP
@@ -94,12 +94,12 @@ wrb_sq <- do.call('rbind', lapply(seq(z), function(i) {
9494
rownames(wrb_sq) <- NULL
9595
# View(wrb_sq)
9696

97-
wrb_4th_2022 <- list(
97+
WRB_4th_2022 <- list(
9898
rsg = wrb_rsg,
9999
pq = wrb_pq,
100100
sq = wrb_sq
101101
)
102102

103-
stopifnot(all(sapply(wrb_4th_2022, function(x) max(x$code)) == 32))
103+
stopifnot(all(sapply(WRB_4th_2022, function(x) max(x$code)) == 32))
104104

105-
usethis::use_data(wrb_4th_2022, overwrite = TRUE)
105+
usethis::use_data(WRB_4th_2022, overwrite = TRUE)

data/WRB_4th_2022.rda

7.77 KB
Binary file not shown.

data/wrb_4th_2022.rda

-7.77 KB
Binary file not shown.

man/wrb_4th_2022.Rd man/WRB_4th_2022.Rd

+6-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)