Skip to content

Commit

Permalink
bump news/readme
Browse files Browse the repository at this point in the history
  • Loading branch information
brownag committed Mar 7, 2023
1 parent 0178aae commit 45659ba
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 10 deletions.
56 changes: 50 additions & 6 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,61 @@
# soilDB 2.7.7 (2023-01-09)
# soilDB 2.7.7 (2023-03-07)

Enhancements

- `dbQueryNASIS(..., close=TRUE)` now calls `dbDisconnect()` `on.exit()` (ensuring connections get closed on error)

- bug fixes in `fetchSCAN()`: 2x requests when `timeseries` argument not specified, account for no results (e.g. year = 1800)

- `fetchNASIS(from="pedons")` and `get_site_data_from_NASIS_db()` now return `siteobsiid` column (@natearoe)

- `mukey.wcs()` gains experimental gridded STATSGO layer (300m)

- Add `get_NASIS_table_metadata()` for returning information about columns in NASIS tables.

- `simplifyFragment/ArtifactData()`: downgrade warnings

- `get_cosoilmoist_from_SDA()`: `mukey` and `cokey` now included when `duplicates=TRUE`; thanks to @andypaolucci for catching this

- `fetchSoilGrids()`

- Add `SpatVector` coercion for input locations (already supported sf/sp classes)

- Add handling for messages from api about erroneous input

- Add `fetchNASIS("pedons")` columns vignette

- Add `get_NASIS_table_metadata()` and optional argument `include_description` for `get_NASIS_metadata()` and `get_NASIS_column_metadata()`

- `get_SDA_cosurfmorph()` + `get_SDA_pmgroupname()`: support for including or excluding misc. areas via `miscellaneous_areas` argument

- `get_site_data_from_NASIS_db()`:

- Omit "multiple horizontal datums" warning

- Remove calculated X/Y long/lat + add proper NASIS alias for long/lat

- Add `siteothvegclass` id/name - add tables to default lookup/site sets

Bug fixes

- `dbQueryNASIS(..., close=TRUE)` now calls `dbDisconnect()` `on.exit()` (ensuring connections get closed on error)

- `fetchSCAN()`:

- 2x requests when `timeseries` argument not specified

- Account for no results (e.g. year = 1800)

- Bug fix in vectorization when daily + hourly data requested

- This function complements the existing `get_NASIS_column_metadata()` which focuses on the values within columns such as domain choice names, labels, and order. Both functions now take an `include_descriptions` argument to optionally include the narrative description of the column or column choice list item.
- `downloadSSURGO()`:

- Handle `SDA_query()` with invalid syntax in `WHERE` clause

- Fix for `include_template=FALSE `

- Fix for `.get_comonth_from_SDA()`

- Fix selected set (`SS` argument) for `get_ecosite_history_from_NASIS_db()`

- `get_SDA_pmgroupname`: return `NA` (not "NULL") for empty/missing `pmgroupname` when `simplify=TRUE `

# soilDB 2.7.6 (2022-11-28)

- All references to `soilDB.env` have been replaced with a function that returns that environment object (`get_soilDB_env()`); thanks to @MollicMeyer for identifying this as a problem in #277. This object used to be exported but was unintentionally omitted from NAMESPACE; this has been fixed.
Expand Down
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ citation("soilDB")
## Functions by Data Source

* Soil Data Access (SDA)
+ [`fetchSDA`](http://ncss-tech.github.io/soilDB/reference/fetchSDA_component.html)
+ [`fetchSDA`](http://ncss-tech.github.io/soilDB/reference/fetchSDA.html)
+ [`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)
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Get the development version from GitHub:
##
## To cite soilDB in publications use:
##
## Beaudette, D., Skovlin, J., Roecker, S., Brown, A. (2022). soilDB:
## Beaudette, D., Skovlin, J., Roecker, S., Brown, A. (2023). soilDB:
## Soil Database Interface. R package version 2.7.6.
## <https://CRAN.R-project.org/package=soilDB>
##
Expand All @@ -44,7 +44,7 @@ Get the development version from GitHub:
## author = {Dylan Beaudette and Jay Skovlin and Stephen Roecker and Andrew Brown},
## note = {R package version 2.7.6},
## url = {https://CRAN.R-project.org/package=soilDB},
## year = {2022},
## year = {2023},
## }

## soilDB 2.7.7
Expand All @@ -58,7 +58,7 @@ Get the development version from GitHub:
## Functions by Data Source

- Soil Data Access (SDA)
- [`fetchSDA`](http://ncss-tech.github.io/soilDB/reference/fetchSDA_component.html)
- [`fetchSDA`](http://ncss-tech.github.io/soilDB/reference/fetchSDA.html)
- [`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)
Expand Down

0 comments on commit 45659ba

Please sign in to comment.