Skip to content

Commit

Permalink
Update NEWS / README / date
Browse files Browse the repository at this point in the history
  • Loading branch information
brownag committed Mar 31, 2021
1 parent 8dcfe98 commit 22e9cda
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 14 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Package: soilDB
Type: Package
Title: Soil Database Interface
Version: 2.6.1
Date: 2021-03-22
Date: 2021-03-30
Authors@R: c(person(given="Dylan", family="Beaudette", role = c("aut"), email = "[email protected]"),
person(given="Jay", family="Skovlin", role = c("aut")),
person(given="Stephen", family="Roecker", role = c("aut")),
Expand Down
11 changes: 6 additions & 5 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# soilDB 2.6.1 (2021-03-22)
* Connections to the local NASIS database now use `DBI` and `odbc` instead of `RODBC`
* Two new methods `dbConnectNASIS` and `dbQueryNASIS` facilitate access with read-only credentials, submission of queries/fetching of results, and closing the DBI connection upon completion
* Use `dsn` argument to specify a local "static" SQLite file containing NASIS tables
* Default argument `dsn = NULL` uses `"nasis_local"` [ODBC connection](http://ncss-tech.github.io/AQP/soilDB/setup_local_nasis.html) to a local NASIS SQL Server instance
# soilDB 2.6.1 (2021-03-30)
* Connections to local NASIS and various MS Access databases now use `DBI` and `odbc`, replacing `RODBC`
* New methods `dbConnectNASIS` and `dbQueryNASIS` 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](http://ncss-tech.github.io/AQP/soilDB/setup_local_nasis.html) to local NASIS SQL Server
* Horizon depth logic checking is now done with `aqp::checkHzDepthLogic()`, powered by {data.table}

# soilDB 2.6.0 (2021-02-18)
* `OSDquery` gets a new argument (`everything`) for searching the entire document
Expand Down
22 changes: 14 additions & 8 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ remotes::install_github("ncss-tech/soilDB", dependencies = FALSE, upgrade = FALS

#### NASIS

* all NASIS queries now use {DBI} w/ {odbc} or {RSQLite} as the back-end
* all NASIS queries now use {DBI}, tested to work with {odbc} or {RSQLite} drivers; replacing {RODBC}
* Install required R packages with `install.packages(c("DBI","odbc","RSQLite"), dependencies = TRUE)`
* new methods for connecting to NASIS and querying NASIS data allow for `dsn` argument to specify a local "static" SQLite file containing NASIS tables.
* Default argument `dsn = NULL` uses `"nasis_local"` [ODBC connection](http://ncss-tech.github.io/AQP/soilDB/setup_local_nasis.html) to a local NASIS SQL Server instance
Expand All @@ -41,6 +41,10 @@ remotes::install_github("ncss-tech/soilDB", dependencies = FALSE, upgrade = FALS
* `SDA_query` returns a `try-error` for queries with invalid syntax or on network error; empty results are an empty `data.frame()`
* `fetchSDA_spatial` can return STATSGO `gsmmupolygon` or Soil Survey Area `sapolygon` data; and can join to the `legend` table

#### MS Access

* AKSite, Montana RangeDB, and PedonPC 6.x get and fetch methods now use {DBI}+{odbc}

#### Other APIs

* **NEW** functions [`ROSETTA`](http://ncss-tech.github.io/soilDB/docs/reference/ROSETTA.html), [`taxaExtent`](http://ncss-tech.github.io/soilDB/docs/reference/taxaExtent.html), [`mukey.wcs`](http://ncss-tech.github.io/soilDB/docs/reference/mukey.wcs.html), [`ISSR800.wcs`](http://ncss-tech.github.io/soilDB/docs/reference/ISSR800.wcs.html)
Expand All @@ -55,13 +59,6 @@ remotes::install_github("ncss-tech/soilDB", dependencies = FALSE, upgrade = FALS

* SSURGO Local Geodatabases
+ [`fetchGDB`](http://ncss-tech.github.io/soilDB/docs/reference/fetchGDB.html)

* NASIS local database
+ [`fetchNASIS`](http://ncss-tech.github.io/soilDB/docs/reference/fetchNASIS.html)
+ <span style="color:red">**NEW:**</span> Argument `dsn` to specify path to connect to alternate (SQLite) data sources with NASIS schema
+ <span style="color:red">**NEW:**</span>[`dbConnectNASIS`](http://ncss-tech.github.io/soilDB/docs/reference/dbConnectNASIS.html) (alias `NASIS`) - create a _DBIConnection_ to local NASIS database
+ <span style="color:red">**NEW:**</span>[`dbQueryNASIS`](http://ncss-tech.github.io/soilDB/docs/reference/dbQueryNASIS.html) - query NASIS local database (and close connection with `close=TRUE`)
+ <span style="color:red">**NEW:**</span>[`createStaticNASIS`](http://ncss-tech.github.io/soilDB/docs/reference/createStaticNASIS.html) - create list of NASIS tables or write to SQLite

* ROSETTA
+ <span style="color:red">**NEW:**</span> [`ROSETTA`](http://ncss-tech.github.io/soilDB/docs/reference/ROSETTA.html)
Expand All @@ -87,6 +84,13 @@ remotes::install_github("ncss-tech/soilDB", dependencies = FALSE, upgrade = FALS
* Henry Mount Soil and Water Database
+ [`fetchHenry`](http://ncss-tech.github.io/soilDB/docs/reference/fetchHenry.html)

* NASIS local database
+ [`fetchNASIS`](http://ncss-tech.github.io/soilDB/docs/reference/fetchNASIS.html)
+ <span style="color:red">**NEW:**</span> Argument `dsn` to specify path to connect to alternate (SQLite) data sources with NASIS schema
+ <span style="color:red">**NEW:**</span>[`dbConnectNASIS`](http://ncss-tech.github.io/soilDB/docs/reference/dbConnectNASIS.html) (alias `NASIS`) - create a _DBIConnection_ to local NASIS database
+ <span style="color:red">**NEW:**</span>[`dbQueryNASIS`](http://ncss-tech.github.io/soilDB/docs/reference/dbQueryNASIS.html) - query NASIS local database (and close connection with `close=TRUE`)
+ <span style="color:red">**NEW:**</span>[`createStaticNASIS`](http://ncss-tech.github.io/soilDB/docs/reference/createStaticNASIS.html) - create list of NASIS tables or write to SQLite

* SoilGrids
+ [`fetchSoilGrids`](http://ncss-tech.github.io/soilDB/docs/reference/fetchSoilGrids.html)

Expand All @@ -102,12 +106,14 @@ remotes::install_github("ncss-tech/soilDB", dependencies = FALSE, upgrade = FALS
* [`get_NOAA_GHCND`](http://ncss-tech.github.io/soilDB/docs/reference/get_NOAA_GHCND.html)

## Tutorials and Demonstrations

* [fetchKSSL](http://ncss-tech.github.io/AQP/soilDB/KSSL-demo.html)
* [SDA_query](http://ncss-tech.github.io/AQP/soilDB/SDA-tutorial.html)
* [fetchOSD](http://ncss-tech.github.io/AQP/sharpshootR/OSD-dendrogram.html)
* [SCAN/SNOTEL Data](http://ncss-tech.github.io/AQP/soilDB/fetchSCAN-demo.html)

## Related Packages

* [aqp](https://github.com/ncss-tech/aqp)
* [sharpshootR](https://github.com/ncss-tech/sharpshootR)

Expand Down

0 comments on commit 22e9cda

Please sign in to comment.