Skip to content

Commit

Permalink
soilDB 2.8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
brownag committed Aug 15, 2024
1 parent 4c67843 commit 1e543ee
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ README.Rmd
^CRAN-SUBMISSION$
^data-raw$
^CITATION\.cff$
^doc$
^Meta$
^LICENSE\.md$
^doc$
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ Language: en-US
Roxygen: list(markdown = TRUE)
LazyData: false
VignetteBuilder: knitr
NeedsCompilation: no
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
- generating `gpkg_contents` for GeoPackage files failed to add entries for "features" data_type
- `filename` argument not properly handled in some cases
- `SDA_query()` handle another possible failure point in error handling code
- `createStaticNASIS()` use `odbc::dbListFields()` instead of `odbc::odbcConnectionColumns()`
- fetchNASIS Vignette

# soilDB 2.8.3 (2024-06-11)
- Updates to SoilWeb web coverage services
Expand Down
4 changes: 2 additions & 2 deletions R/WCS-utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ WCS_details <- function(wcs = c('mukey', 'ISSR800', 'soilColor')) {
'hi_ssurgo' = list(
dsn = 'hi_ssurgo',
type = 'GEOTIFF_FLOAT',
desc = 'HI map unit keys (experimental)',
desc = 'HI map unit keys',
vintage = 'FY2024',
na = 4294967295,
res = 30,
Expand All @@ -706,7 +706,7 @@ WCS_details <- function(wcs = c('mukey', 'ISSR800', 'soilColor')) {
'pr_ssurgo' = list(
dsn = 'pr_ssurgo',
type = 'GEOTIFF_FLOAT',
desc = 'PR map unit keys (experimental)',
desc = 'PR map unit keys',
vintage = 'FY2024',
na = 4294967295,
res = 30,
Expand Down
2 changes: 1 addition & 1 deletion R/fetchHenry.R
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ month2season <- function(x) {
return(season)
}

## experimental function for padding daily time-series with NA in the presence of missing days
## function for padding daily time-series with NA in the presence of missing days
## must be run on subsets defined by year
.fill_missing_days <- function(x) {

Expand Down
5 changes: 2 additions & 3 deletions R/fetchKSSL.R
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,8 @@
#' Download soil characterization and morphologic data via BBOX, MLRA, or soil
#' series name query, from the KSSL database.
#'
#' This is an experimental interface to a subset for the most commonly used
#' data from a snapshot of KSSL (lab characterization) and NASIS (morphologic)
#' data.
#' This interface has largely been superseded by the Soil Data Access
#'snapshot of the Laboratory Data Mart, available via `fetchLDM()`.
#'
#' Series-queries are case insensitive. Series name is based on the "correlated
#' as" field (from KSSL snapshot) when present. The "sampled as"
Expand Down
2 changes: 1 addition & 1 deletion R/fetchOSD.R
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
#' \item{pmorigin}{empirical probabilities for parent material origin, derived from the current SSURGO snapshot}
#' \item{mlra}{empirical MLRA membership values, derived from the current SSURGO snapshot}
#' \item{ecoclassid}{area cross-tabulation of ecoclassid by soil series name, derived from the current SSURGO snapshot, major components only}
#' \item{climate}{experimental climate summaries from PRISM stack (CONUS only)}
#' \item{climate}{climate summaries from PRISM stack (CONUS only)}
#'
#' \item{NCCPI}{select quantiles of NCCPI and Irrigated NCCPI, derived from the current SSURGO snapshot}
#'
Expand Down
5 changes: 3 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ output: md_document
[![CRAN status](https://badges.cranchecks.info/worst/soilDB.svg)](https://cran.r-project.org/web/checks/check_results_soilDB.html)
[![Development Version](https://ncss-tech.r-universe.dev/badges/soilDB)](https://ncss-tech.r-universe.dev/)
[![R-CMD-check Build Status](https://github.com/ncss-tech/soilDB/actions/workflows/R-CMD-check.yml/badge.svg)](https://github.com/ncss-tech/soilDB/actions)
[![Total CRAN Downloads](https://cranlogs.r-pkg.org/badges/soilDB)](https://cran.r-project.org/package=soilDB)
[![Monthly CRAN Downloads](https://cranlogs.r-pkg.org/badges/soilDB)](https://cran.r-project.org/package=soilDB)
![CRAN/METACRAN](https://img.shields.io/cran/l/soilDB)
[![soilDB Manual](https://img.shields.io/badge/docs-HTML-informational)](https://ncss-tech.github.io/soilDB/)

Expand Down Expand Up @@ -38,7 +38,8 @@ soilDB_CRAN_VERSION <- .getLatestCRANRelease()
# get installed version
soilDB_INSTALLED_VERSION <- packageVersion("soilDB")
if (soilDB_INSTALLED_VERSION > soilDB_CRAN_VERSION) {
# rebuilding readme locally, use installed version
if (soilDB::local_NASIS_defined() && (soilDB_INSTALLED_VERSION > soilDB_CRAN_VERSION)) {
.update_CITATION(soilDB_INSTALLED_VERSION)
} else {
.update_CITATION(soilDB_CRAN_VERSION)
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ status](https://badges.cranchecks.info/worst/soilDB.svg)](https://cran.r-project
Version](https://ncss-tech.r-universe.dev/badges/soilDB)](https://ncss-tech.r-universe.dev/)
[![R-CMD-check Build
Status](https://github.com/ncss-tech/soilDB/actions/workflows/R-CMD-check.yml/badge.svg)](https://github.com/ncss-tech/soilDB/actions)
[![Total CRAN
[![Monthly CRAN
Downloads](https://cranlogs.r-pkg.org/badges/soilDB)](https://cran.r-project.org/package=soilDB)
![CRAN/METACRAN](https://img.shields.io/cran/l/soilDB) [![soilDB
Manual](https://img.shields.io/badge/docs-HTML-informational)](https://ncss-tech.github.io/soilDB/)
Expand Down Expand Up @@ -61,6 +61,7 @@ Get the development version from GitHub:
- [`fetchSDA_spatial`](http://ncss-tech.github.io/soilDB/reference/fetchSDA_spatial.html)
- [`SDA_query`](http://ncss-tech.github.io/soilDB/reference/SDA_query.html)
- [`SDA_spatialQuery`](http://ncss-tech.github.io/soilDB/reference/SDA_spatialQuery.html)
- [`fetchLDM`](http://ncss-tech.github.io/soilDB/reference/fetchLDM.html)
- “SSURGO On Demand” Queries
- [`get_SDA_hydric`](http://ncss-tech.github.io/soilDB/reference/get_SDA_hydric.html)
- [`get_SDA_interpretation`](http://ncss-tech.github.io/soilDB/reference/get_SDA_interpretation.html)
Expand Down
5 changes: 2 additions & 3 deletions man/fetchKSSL.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/fetchOSD.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions vignettes/wcs-ssurgo.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ knitr::opts_chunk$set(
fig.align = 'center',
fig.width = 8,
fig.height = 6,
dpi = 36,
tidy = FALSE,
verbose = FALSE,
# run when NASIS is defined or when R_SOILDB_SKIP_LONG_EXAMPLES is FALSE
Expand Down

0 comments on commit 1e543ee

Please sign in to comment.