From b2efd1f88620ef083da320ee582030a2b2551d4d Mon Sep 17 00:00:00 2001 From: Andrew Gene Brown Date: Mon, 22 Apr 2024 12:50:17 -0700 Subject: [PATCH] soilDB 2.8.2 --- NEWS.md | 2 +- R/fetchSRI.R | 3 ++- man/dot-get_SRI_gdb_names.Rd | 17 ----------------- 3 files changed, 3 insertions(+), 19 deletions(-) delete mode 100644 man/dot-get_SRI_gdb_names.Rd diff --git a/NEWS.md b/NEWS.md index 9001c3c9..3db3f66b 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# soilDB 2.8.2 (development) +# soilDB 2.8.2 (2024-04-22) - SoilWeb Web Coverage Service MUKEY grid data source (used for `mukey.wcs()`) and metadata have been updated for FY2024 - Note that ISSR800 WCS (`ISSR800.wcs()` source) is still using FY2023/FY2022 data diff --git a/R/fetchSRI.R b/R/fetchSRI.R index 47304743..9b9ba08a 100644 --- a/R/fetchSRI.R +++ b/R/fetchSRI.R @@ -142,6 +142,7 @@ get_SRI_layers <- function(gdb) { #' matching helper #' @param gdb A character. #' @return A gdb character. +#' @noRd .get_SRI_gdb_names <- function(gdb) { gdb_names <- tolower(c('Region6', 'Deschutes', 'Fremont', 'GiffordPinchot', 'Malheur', @@ -159,7 +160,7 @@ get_SRI_layers <- function(gdb) { ifelse(gdb %in% c('fremont'), 'Fremont', ifelse(gdb %in% c('giffordpinchot', 'giford pinchot'), 'GiffordPinchot', ifelse(gdb %in% c('malheur'), 'Malheur', - ifelse(gdb %in% c( 'mtbaker','mt. baker', 'mt baker'), 'MtBaker', + ifelse(gdb %in% c('mtbaker','mt. baker', 'mt baker'), 'MtBaker', ifelse(gdb %in% c('mthood','mt hood','mt. hood'), 'MtHood', ifelse(gdb %in% c('ochoco'), 'Ochoco', ifelse(gdb %in% c('okanogan'), 'Okanogan', diff --git a/man/dot-get_SRI_gdb_names.Rd b/man/dot-get_SRI_gdb_names.Rd deleted file mode 100644 index a6e5eb97..00000000 --- a/man/dot-get_SRI_gdb_names.Rd +++ /dev/null @@ -1,17 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/fetchSRI.R -\name{.get_SRI_gdb_names} -\alias{.get_SRI_gdb_names} -\title{matching helper} -\usage{ -.get_SRI_gdb_names(gdb) -} -\arguments{ -\item{gdb}{A character.} -} -\value{ -A gdb character. -} -\description{ -matching helper -}