CRAN Release 2.6.1
This marks the acceptance of CRAN Release 2.6.1 (submitted 0c2085c, which is too old to be tagged in this release).
Updates by patch version since last CRAN release.
soilDB 2.6.1 (2021-04-07)
- Connections to local NASIS and various MS Access databases now use
DBI
andodbc
, replacingRODBC
- New methods
dbConnectNASIS
anddbQueryNASIS
for NASIS access with read-only credentials, fetching query results, and closing the DBIConnection upon completion - NASIS methods use
dsn
argument to specify a local "static" SQLite file containing NASIS tables, or custom DBIConnection to a database with NASIS schema- Default
dsn = NULL
uses"nasis_local"
ODBC connection to local NASIS SQL Server
- Default
- Horizon depth logic checking is now done with
aqp::checkHzDepthLogic()
, powered by {data.table} - Added several new SDA query methods based on https://github.com/ncss-tech/ssurgoOnDemand by @jneme910 and @cferguso:
get_SDA_property
,get_SDA_interpretation
,get_SDA_muaggatt
,get_SDA_hydric
,get_SDA_pmgroupname
soilDB 2.6.0 (2021-02-18)
OSDquery
gets a new argument (everything
) for searching the entire documentfetchNASIS(..., rmHzErrors=TRUE)
-- spurious removals of data due to missing "extended" records.fetchNASIS
now usesaqp::horizons<-
after building a minimalSoilProfileCollection
from NASIS site and horizon tables. This allowsaqp
integrity methods to trigger where needed--preventing unintentional re-ordering or removals of "valid" horizon data.