Soil Database Interface
Overview
A collection of functions for reading soil data from U.S. Department of Agriculture Natural Resources Conservation Service (USDA-NRCS) and National Cooperative Soil Survey (NCSS) databases.
- EDIT base URL (for
get_EDIT_ecoclass_by_geoUnit()andmake_EDIT_service_URL()) updated to new USDA-managed server: <https://edit.sc.egov.usda.gov/> - SoilWeb-based Web Coverage Services (
soilColor.wcs(),ISSR800.wcs(),mukey.wcs()) have been updated with FY26 maps, now including most OCONUS soil surveys (AK, HI, PR, PW, GU, AS, MP) downloadSSURGO()gains argumentsinclude_spatialandinclude_tabularthat are analogous to arguments of the same name fromcreateSSURGO(). Also, addedLAPPLY.FUNto support arbitrary parallel or progress reporting backends. Thanks to feature request from @dylanbeaudette (#470).createSSURGO()improved performance of reading and writing of tabular data and type conversion
From NEWS.md in the release
Install
Health
NOTER code for possible problemsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
Found calls to structure() using deprecated special names: soilDB/tests/testthat/test-simplifyFragmentData.R (.Label: 6, .Names: 3) soilDB/tests/testthat/test-uncode.R (.Label: 3) '.Label' should be changed to 'levels'. '.Names' should be changed to 'names'.
- NOTE8 OK, 5 NOTENow
- NOTE11 OK, 2 NOTE2026-07-16
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 108includes a package overview page
- Examples that run
- 28%16 run in a plain check (1 of them under a condition) · 17 only when donttest examples are enabled (R CMD check --as-cran) · 23 never run · 2 hold no code
- Exported functions with examples
- 56%
- Documented parameters
- 98%
- Return-value docs
- 96%
- Help pages citing references
- 12%
Downloads
Repository
- PRs merged (all time)
- 97%
- Median days to close, 50 most recently updated closed issues
- 17
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
Commit identities over time
9 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/ncss-tech/soildb on 2026-10-25.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-07-14 · The repository has a site deploy workflow
pkgdown site last built 2026-07-14
Show all practicesHide 1 practice
Dependencies
Installing soilDB adds 4 packages (3 with compiled code, 8.1 MB of source tarballs). Heaviest: data.table 5.7 MB, jsonlite 1.0 MB, DBI 727 KB.
Code & Tests
Datasets
People & History
Previously maintained by Dylan Beaudette (0.3-2 to 2.5).
Show 5 peopleHide 5 people
Pick two releases to compare their code metrics.
- 2.9.2Latest
- RR 4.6.0 released · 2026-04-24
- 2.9.12026-04-03 · diff ↗
- 2.8.13
- 2.8.122025-08-29 · diff ↗
- 2.8.112025-07-11 · diff ↗ ·
added 4 exports
fetchHWSD, get_HWSD_path, get_phroots_from_NASIS_db, soilDB_user_dir - RR 4.5.0 released · 2025-04-11
- 2.8.92025-04-05 · diff ↗ ·
added 3 exports
get_projectmilestone_from_NASIS, get_site_association_from_NASIS, get_vegplot_groundsurface_from_NASIS_db - 2.8.82025-02-10 · diff ↗
- 2.8.72025-01-16 · diff ↗
- 2.8.5
- 2.8.42024-08-17 · diff ↗
- 2.8.32024-06-12 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 2.8.22024-04-23 · diff ↗
- 2.8.12024-01-10 · diff ↗
Show 65 earlier eventsHide 65 earlier events
- 2.8.02023-12-22 · diff ↗
- 2.7.102023-11-16 · diff ↗
- 2.7.82023-08-29 · diff ↗ ·
added 3 exports
get_vegplot_prodquadrats_from_NASIS_db, get_vegplot_speciesbasalarea_from_NASIS, get_vegplot_transpoints_from_NASIS_db - RR 4.3.0 released · 2023-04-21
- 2.7.7
- 2.7.6
- 2.7.5
- 2.7.42022-10-01 · diff ↗
- 2.7.32022-08-20 · diff ↗ ·
added 4 exports
NASISChoiceList, get_NASIS_column_metadata, get_NASIS_metadata, get_competing_soilseries_from_NASIS - 2.7.22022-06-27 · diff ↗ ·
added 27 exports
ROSETTA, getHzErrorsPedonPC, get_NASIS_table_key_by_name, get_NASIS_table_name_by_purpose, get_OSD_JSON, get_RMF_from_NASIS_db, get_SDA_coecoclass, get_chorizon_from_NASISWebReport, get_component_from_GDB, get_component_from_NASISWebReport, get_concentrations_from_NASIS_db, get_cosoilmoist_from_NASISWebReport, get_cosoilmoist_from_SDA, get_legend_from_GDB, get_legend_from_NASISWebReport, get_lmuaoverlap_from_NASISWebReport, get_mapunit_from_GDB, get_mapunit_from_NASISWebReport, get_phfmp_from_NASIS_db, get_progress_from_NASISWebReport, get_project_correlation_from_NASISWebReport, get_project_from_NASISWebReport, get_projectmapunit2_from_NASISWebReport, get_projectmapunit_from_NASISWebReport, get_sitesoilmoist_from_NASISWebReport, get_soilseries_from_NASISWebReport, taxaExtent - 2.7.12022-06-10 · diff ↗ ·
removed 1 export
pattern:^[^\\.]added 120 exports
ISSR800.wcs, KSSL_VG_model, NASIS, NASISDomainsAsFactor, OSDquery, SCAN_sensor_metadata, SCAN_site_metadata, SDA_query, SDA_spatialQuery, STRplot, SoilWeb_spatial_query, WCS_details, code, createSSURGO, createStaticNASIS, dbConnectNASIS, dbQueryNASIS, downloadSSURGO, estimateColorMixture, estimateSTR, fetchGDB, fetchHenry, fetchKSSL, fetchLDM, fetchNASIS, fetchNASISLabData, fetchNASISWebReport, fetchOSD, fetchPedonPC, fetchRaCA and 90 more - 2.7.02022-05-19 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 2.6.152022-04-14 · diff ↗
- 2.6.142022-03-15 · diff ↗
- 2.6.132022-01-31 · diff ↗
- 2.6.122022-01-08 · diff ↗
- 2.6.102021-12-15 · diff ↗
- 2.6.92021-12-03 · diff ↗
- 2.6.52021-08-21 · diff ↗
- 2.6.32021-07-23 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 2.6.22021-05-16 · diff ↗
- 2.6.12021-04-18 · diff ↗
- 2.5.92021-01-26 · diff ↗
- 2.5.82020-10-21 · diff ↗
- RR 4.0.0 released · 2020-04-24
- unarchivedReturned to CRAN2020-01-28
- 2.52020-01-28 · diff ↗
- archivedRemoved from CRAN2020-01-20policy violation Internet access failed yet again
- unarchivedReturned to CRAN2019-11-07
- 2.4.12019-11-07 · diff ↗
- archivedRemoved from CRAN2019-10-28policy violation Internet access failed repeatedly
- RR 3.6.0 released · 2019-04-26
- 2.3.52019-01-15 · diff ↗
- 2.32018-11-19 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 2.0-12018-01-23 · diff ↗
- 2.02018-01-11 · diff ↗
- 1.8.142017-11-17 · diff ↗
- RR 3.4.0 released · 2017-04-21
- 1.8-72016-11-10 · diff ↗
- RR 3.3.0 released · 2016-05-03
- 1.82016-04-29 · diff ↗
- 1.72016-02-16 · diff ↗
- 1.6.62015-12-05 · diff ↗
- 1.5-42015-04-23 · diff ↗
- RR 3.2.0 released · 2015-04-16
- 1.5-22015-02-25 · diff ↗
- 1.52015-02-21 · diff ↗
- 1.3-22014-04-30 · diff ↗
- RR 3.1.0 released · 2014-04-10
- 1.3-12014-03-11 · diff ↗
- 1.2-62013-12-17 · diff ↗
- 1.02013-04-18 · diff ↗
- RR 3.0.0 released · 2013-04-03
- 0.9-62013-02-28 · diff ↗
- 0.9-32013-01-10 · diff ↗
- 0.8-32012-10-10 · diff ↗
- 0.8-12012-08-27 · diff ↗
- 0.6-22012-06-22 · diff ↗
- RR 2.15.0 released · 2012-03-30
- 0.3-32012-01-16 · diff ↗
- 0.3-22012-01-03
- RR 2.14.0 released · 2011-10-31
Package metadata
- First published
- 2012-01-03
- Total releases
- 61 / 14 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 266 KB / 8 files
- Download size
- 941 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("soilDB")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
The repository also keeps a CITATION.cff.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.