{"id":13483058,"url":"https://github.com/ncss-tech/soilDB","last_synced_at":"2025-03-27T13:33:30.063Z","repository":{"id":8247960,"uuid":"54595470","full_name":"ncss-tech/soilDB","owner":"ncss-tech","description":"soilDB: Simplified Access to National Cooperative Soil Survey Databases","archived":false,"fork":false,"pushed_at":"2024-10-28T17:17:42.000Z","size":166339,"stargazers_count":82,"open_issues_count":20,"forks_count":19,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-10-29T16:17:33.806Z","etag":null,"topics":["cran","kssl","nasis","nrcs","r","soil","soil-data-access","soil-survey","soilweb","sql","usda"],"latest_commit_sha":null,"homepage":"http://ncss-tech.github.io/soilDB/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ncss-tech.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2016-03-23T21:51:10.000Z","updated_at":"2024-10-28T17:17:46.000Z","dependencies_parsed_at":"2023-12-07T00:41:42.016Z","dependency_job_id":"783fa7bb-0982-4cb6-a4e2-0836cac7f193","html_url":"https://github.com/ncss-tech/soilDB","commit_stats":{"total_commits":3002,"total_committers":17,"mean_commits":"176.58823529411765","dds":0.5123251165889406,"last_synced_commit":"9775b5cf0cb562389fac236a00cbff092bbaddf7"},"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncss-tech%2FsoilDB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncss-tech%2FsoilDB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncss-tech%2FsoilDB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ncss-tech%2FsoilDB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ncss-tech","download_url":"https://codeload.github.com/ncss-tech/soilDB/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222246905,"owners_count":16955119,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cran","kssl","nasis","nrcs","r","soil","soil-data-access","soil-survey","soilweb","sql","usda"],"created_at":"2024-07-31T17:01:07.868Z","updated_at":"2024-10-30T16:32:02.177Z","avatar_url":"https://github.com/ncss-tech.png","language":"R","readme":"---\noutput: md_document \n---\n[![CRAN version](https://www.r-pkg.org/badges/version/soilDB)](https://CRAN.R-project.org/package=soilDB)\n[![CRAN status](https://badges.cranchecks.info/worst/soilDB.svg)](https://cran.r-project.org/web/checks/check_results_soilDB.html)\n[![Development Version](https://ncss-tech.r-universe.dev/badges/soilDB)](https://ncss-tech.r-universe.dev/)\n[![R-CMD-check Build Status](https://github.com/ncss-tech/soilDB/actions/workflows/R-CMD-check.yml/badge.svg)](https://github.com/ncss-tech/soilDB/actions)\n[![Monthly CRAN Downloads](https://cranlogs.r-pkg.org/badges/soilDB)](https://cran.r-project.org/package=soilDB)\n![CRAN/METACRAN](https://img.shields.io/cran/l/soilDB)\n[![soilDB Manual](https://img.shields.io/badge/docs-HTML-informational)](https://ncss-tech.github.io/soilDB/)\n\n```{r, echo=FALSE, message=FALSE, warning=FALSE}\nlibrary(rvest)\n# get latest release semantic version number for citation\n.getLatestCRANRelease \u003c- function() { \n  gsub(\".*/([0-9\\\\.]+)$\", \"\\\\1\", html_text(html_element(html_element(read_html(\"https://github.com/ncss-tech/soilDB/releases.atom\"), \"entry\"), \"id\")))\n}\n\n.update_CITATION \u003c- function(version) {\n  x \u003c- sprintf('citHeader(\"To cite soilDB in publications use:\")\n\nbibentry(\n  bibtype = \"Manual\",\n  title = \"soilDB: Soil Database Interface\",\n  author = \"Dylan Beaudette, Jay Skovlin, Stephen Roecker and Andrew Brown\",\n  note = \"R package version %s\",\n  url = \"https://CRAN.R-project.org/package=soilDB\",\n  year = \"%s\",\n  textVersion = \"Beaudette, D., Skovlin, J., Roecker, S., Brown, A. (%s). soilDB: Soil Database Interface. R package version %s. \u003chttps://CRAN.R-project.org/package=soilDB\u003e\"\n)\n', version, format(Sys.time(), \"%Y\"), format(Sys.time(), \"%Y\"), version)\n  suppressWarnings(writeLines(strsplit(x, \"\\n\")[[1]], \"inst/CITATION\"))\n}\n\n# get latest tagged release from github\nsoilDB_CRAN_VERSION \u003c- .getLatestCRANRelease()\n\n# get installed version\nsoilDB_INSTALLED_VERSION \u003c- packageVersion(\"soilDB\")\n\n# rebuilding readme locally, use installed version\nif (soilDB::local_NASIS_defined() \u0026\u0026 (soilDB_INSTALLED_VERSION \u003e soilDB_CRAN_VERSION)) {\n  .update_CITATION(soilDB_INSTALLED_VERSION)\n} else {\n  .update_CITATION(soilDB_CRAN_VERSION)\n}\n\n# update inst/CITATION\n```\n\n## Installation\n\nGet the stable version from CRAN:\n\n```r\ninstall.packages('soilDB', dependencies = TRUE)\n```\n\nGet the development version from GitHub:\n\n```r\nremotes::install_github(\"ncss-tech/soilDB\", dependencies = FALSE)\n```\n\n## Website\n - CRAN Package: https://cran.r-project.org/package=soilDB\n - Package Manual: http://ncss-tech.github.io/soilDB/\n - Algorithms for Quantitative Pedology (AQP) Project: http://ncss-tech.github.io/AQP/\n\n## Citation\n\n```{r, echo=FALSE}\ncitation(\"soilDB\")\n```\n\n## soilDB `r packageVersion(\"soilDB\")`\n\n\u003c!-- ### Notices on Database Interfaces --\u003e\n\u003c!-- #### NASIS --\u003e\n\u003c!-- #### Soil Data Access (SDA) --\u003e\n\u003c!-- #### SoilWeb API --\u003e\n\u003c!-- #### MS Access --\u003e\n\n## Functions by Data Source \n    \n  * Soil Data Access (SDA)\n    + [`fetchSDA`](http://ncss-tech.github.io/soilDB/reference/fetchSDA.html)\n    + [`fetchSDA_spatial`](http://ncss-tech.github.io/soilDB/reference/fetchSDA_spatial.html)\n    + [`SDA_query`](http://ncss-tech.github.io/soilDB/reference/SDA_query.html)\n    + [`SDA_spatialQuery`](http://ncss-tech.github.io/soilDB/reference/SDA_spatialQuery.html)\n    + \"SSURGO On Demand\" Queries\n      - [`get_SDA_hydric`](http://ncss-tech.github.io/soilDB/reference/get_SDA_hydric.html)\n      - [`get_SDA_interpretation`](http://ncss-tech.github.io/soilDB/reference/get_SDA_interpretation.html)\n      - [`get_SDA_muaggatt`](http://ncss-tech.github.io/soilDB/reference/get_SDA_muaggatt.html)\n      - [`get_SDA_pmgroupname`](http://ncss-tech.github.io/soilDB/reference/get_SDA_pmgroupname.html)\n      - [`get_SDA_property`](http://ncss-tech.github.io/soilDB/reference/get_SDA_property.html)\n      - [`get_SDA_coecoclass`](http://ncss-tech.github.io/soilDB/reference/get_SDA_coecoclass.html)\n      - [`get_SDA_metrics`](http://ncss-tech.github.io/soilDB/reference/get_SDA_metrics.html)\n      - [`get_SDA_cosurfmorph`](http://ncss-tech.github.io/soilDB/reference/get_SDA_cosurfmorph.html)\n      \n  * SSURGO Web Soil Survey \n    + [`downloadSSURGO`](http://ncss-tech.github.io/soilDB/reference/downloadSSURGO.html)\n    + [`createSSURGO`](http://ncss-tech.github.io/soilDB/reference/createSSURGO.html)\n \n  * SSURGO Local Geodatabases\n    + [`fetchGDB`](http://ncss-tech.github.io/soilDB/reference/fetchGDB.html)\n\n  * ROSETTA\n    + [`ROSETTA`](http://ncss-tech.github.io/soilDB/reference/ROSETTA.html)\n  \n  * SSURGO/KSSL via SoilWeb\n    + [`fetchKSSL`](http://ncss-tech.github.io/soilDB/reference/fetchKSSL.html)\n    + [`fetchOSD`](http://ncss-tech.github.io/soilDB/reference/fetchOSD.html)\n    + [`siblings`](http://ncss-tech.github.io/soilDB/reference/siblings.html)\n    + [`OSDquery`](http://ncss-tech.github.io/soilDB/reference/OSDquery.html) \n    + [`seriesExtent`](http://ncss-tech.github.io/soilDB/reference/seriesExtent.html)\n    + [`taxaExtent`](http://ncss-tech.github.io/soilDB/reference/taxaExtent.html)\n    + [`mukey.wcs`](http://ncss-tech.github.io/soilDB/reference/mukey.wcs.html)\n    + [`ISSR800.wcs`](http://ncss-tech.github.io/soilDB/reference/ISSR800.wcs.html)\n  \n  * NASIS WWW interface\n    + [`parseWebReport`](http://ncss-tech.github.io/soilDB/reference/parseWebReport.html)\n    + [`fetchNASISWebReport`](http://ncss-tech.github.io/soilDB/reference/fetchNASISWebReport.html)\n  \n  * SCAN/SNOTEL\n    + [`fetchSCAN`](http://ncss-tech.github.io/soilDB/reference/fetchSCAN.html)\n    + [`SCAN_SNOTEL_metadata`](http://ncss-tech.github.io/soilDB/reference/SCAN_SNOTEL_metadata.html)\n    \n  * Henry Mount Soil and Water Database\n    + [`fetchHenry`](http://ncss-tech.github.io/soilDB/reference/fetchHenry.html)\n    \n  * NASIS local database\n    + [`fetchNASIS`](http://ncss-tech.github.io/soilDB/reference/fetchNASIS.html)\n    + [`dbConnectNASIS`](http://ncss-tech.github.io/soilDB/reference/dbConnectNASIS.html) (alias `NASIS()`)\n    + [`dbQueryNASIS`](http://ncss-tech.github.io/soilDB/reference/dbQueryNASIS.html)\n    + [`createStaticNASIS`](http://ncss-tech.github.io/soilDB/reference/createStaticNASIS.html)\n    \n  * SoilGrids\n    + [`fetchSoilGrids`](http://ncss-tech.github.io/soilDB/reference/fetchSoilGrids.html)\n\n## Miscellaneous Functions\n\n  * [`estimateSTR`](http://ncss-tech.github.io/soilDB/reference/estimateSTR.html)\n  * [`STRplot`](http://ncss-tech.github.io/soilDB/reference/STRplot.html)\n  * [`KSSL_VG_model`](http://ncss-tech.github.io/soilDB/reference/KSSL_VG_model.html)\n  * [`simplifyFragmentData`](http://ncss-tech.github.io/soilDB/reference/simplifyFragmentData.html)\n  * [`simplifyColorData`](http://ncss-tech.github.io/soilDB/reference/simplifyColorData.html)\n  * [`uncode`](http://ncss-tech.github.io/soilDB/reference/uncode.html)\n  * [`code`](http://ncss-tech.github.io/soilDB/reference/code.html)\n  * [`get_NOAA_GHCND`](http://ncss-tech.github.io/soilDB/reference/get_NOAA_GHCND.html)\n\n## Tutorials and Demonstrations\n\n * [fetchKSSL](http://ncss-tech.github.io/AQP/soilDB/KSSL-demo.html)\n * [SDA_query](http://ncss-tech.github.io/AQP/soilDB/SDA-tutorial.html)\n * [fetchOSD](http://ncss-tech.github.io/AQP/sharpshootR/OSD-dendrogram.html)\n * [SCAN/SNOTEL Data](http://ncss-tech.github.io/AQP/soilDB/fetchSCAN-demo.html)\n\n## Related Packages\n\n * [aqp](https://github.com/ncss-tech/aqp)\n * [sharpshootR](https://github.com/ncss-tech/sharpshootR)\n * [SoilTaxonomy](https://github.com/ncss-tech/SoilTaxonomy)\n \n","funding_links":[],"categories":["Natural Resources","R","Climate, Environment and Weather"],"sub_categories":["Soil and Land"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fncss-tech%2FsoilDB","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fncss-tech%2FsoilDB","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fncss-tech%2FsoilDB/lists"}