soilDB
soilDB copied to clipboard
soilDB: Simplified Access to National Cooperative Soil Survey Databases
Found some recent incompatibilities with terra (terra_1.6-7), rasterVis (rasterVis_0.51.2). Same errors with latest available R and RStudio on gov machines. Using the latest terra (R-Universe) + rasterVis (GH), the following...
- [x] handle error on timeout etc. gracefully and check other error handling logic is applied consistently (empty objects, try-error result) - [x] refactor code involving `melt` `ddply` etc #161...
There are some SCAN/SNOTEL stations with multiple (above-ground) sensors per sensor prefix. For example: ```r library(soilDB) m
- `get_SDA_pmgroupname()`: support for including or excluding misc. areas via `miscellaneous_areas` argument - `get_SDA_cosurfmorph()`: add `miscellaneous_areas`
The fetchNASIS_pedons(rmHzErrors=TRUE) function filters out pedons 2012MI139004-2 and 2012MI139015, presumably due to horizon overlap. Indeed they have their B/E horizons separated out as 2 completely overlapping horizons, but with total...
These would enhance the basic QC checks performed by `fetchNASIS`.
A reminder to coordinate efforts on related functionality so that there is a single implementation (if possible) and efficient testing. **Updated TODO Jan 2021** - [x] landscape / landform #47...
General TODOs suggested in #124 - inventory soilDB related tutorials, examples, etc. - organize soilDB content via bookdown or related system - provide links to extended examples in manual pages...
Top offenders: * `pedon_id` * `site_id` * `pct` * `claytotest` Probably safe to ignore re-named foreign key names.
Long-term plan: new macros or UDF to support aggregation on the fly in SQL and parity with WSS output. Contractors are working towards this, but no ETA. Short-term plans: *...