sharpshootR
Miscellaneous soil data management, summary, visualization, and conversion utilities to support soil survey.
https://github.com/ncss-tech/sharpshootR
Category: Natural Resources
Sub Category: Soil and Land
Keywords from Contributors
kssl nasis nrcs soil soil-data-access soil-survey soilweb usda digital-soil-mapping pedometrics
Last synced: about 3 hours ago
JSON representation
Repository metadata
Miscellaneous soil data management, summary, visualization, and conversion utilities to support soil survey.
- Host: GitHub
- URL: https://github.com/ncss-tech/sharpshootR
- Owner: ncss-tech
- Created: 2016-03-23T21:52:31.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2025-04-16T21:16:14.000Z (11 days ago)
- Last Synced: 2025-04-17T22:59:14.260Z (10 days ago)
- Language: R
- Homepage: http://ncss-tech.github.io/sharpshootR/
- Size: 44.4 MB
- Stars: 17
- Watchers: 7
- Forks: 3
- Open Issues: 12
- Releases: 2
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS.md
README.Rmd
--- output: github_document --- ```{r, include = FALSE} knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.align = 'center', fig.path = "man/figures/README-", dev = "svglite", message = FALSE, warning = FALSE, tidy = FALSE ) ``` [](https://github.com/ncss-tech/sharpshootR/actions) [](http://cran.r-project.org/web/packages/sharpshootR) [](https://cran.r-project.org/package=sharpshootR) [](http://ncss-tech.github.io/sharpshootR/) # sharpshootR This package contains a mish-mash of functionality and sample data related to the daily business of soil survey operations with the USDA-NRCS. Many of the functions are highly specialized and inherit default arguments from the names used by the various NCSS (National Cooperative Soil Survey) databases. ## Installation Get the stable version from CRAN: ```{r eval = FALSE} install.packages('sharpshootR', dep = TRUE) ``` Get the development version from Github, after installing the CRAN version + dependencies: ```{r eval = FALSE} remotes::install_github("ncss-tech/sharpshootR", dependencies=FALSE, upgrade=FALSE, build=FALSE) ``` ### Install Suggested Packages ```{r eval = FALSE} p <- c("MASS", "spdep", "circlize", "rvest", "xml2", "terra", "raster", "exactextractr", "httr", "jsonlite", "igraph", "dendextend", "testthat", "hydromad", "latticeExtra", "farver", "venn", "gower", "daymetr", "elevatr", "Evapotranspiration", "zoo", "SoilTaxonomy", "sf", "Hmisc" ) install.packages(p) ``` ## Website [http://ncss-tech.github.io/AQP/](http://ncss-tech.github.io/AQP/) ## Examples ```{r fig.width=9, fig.height=5} library(sharpshootR) library(aqp) data(loafercreek, package = 'soilDB') # generalize horizon names using REGEX rules n <- c('Oi', 'A', 'BA','Bt1','Bt2','Bt3','Cr','R') p <- c('O', '^A$|Ad|Ap|AB','BA$|Bw', 'Bt1$|^B$','^Bt$|^Bt2$','^Bt3|^Bt4|CBt$|BCt$|2Bt|2CB$|^C$','Cr','R') loafercreek$genhz <- generalize.hz(loafercreek$hzname, n, p) # remove non-matching generalized horizon names loafercreek$genhz[loafercreek$genhz == 'not-used'] <- NA loafercreek$genhz <- factor(loafercreek$genhz) # aggregate color data, this function is from the `aqp` package a <- aggregateColor(loafercreek, 'genhz', k = 8) # plot par(mar=c(4.5, 1.25, 1, 0.25)) aggregateColorPlot(a, print.n.hz = TRUE) ``` ## Citation ```{r} citation("sharpshootR") ``` ## Quick Reference ### Visualization * [`aggregateColorPlot`](http://ncss-tech.github.io/sharpshootR/reference/aggregateColorPlot.html) * [`aspect.plot`](http://ncss-tech.github.io/sharpshootR/reference/aspect.plot.html) * [`diagnosticPropertyPlot`](http://ncss-tech.github.io/sharpshootR/reference/diagnosticPropertyPlot.html) * [`plotAvailWater`](http://ncss-tech.github.io/sharpshootR/reference/plotAvailWater.html) * [`plotProfileDendrogram`](http://ncss-tech.github.io/sharpshootR/reference/plotProfileDendrogram.html) * [`plotSoilRelationGraph`](http://ncss-tech.github.io/sharpshootR/reference/plotSoilRelationGraph.html) * [`plotSoilRelationChordGraph`](http://ncss-tech.github.io/sharpshootR/reference/plotSoilRelationChordGraph.html) * [`plotTransect`](http://ncss-tech.github.io/sharpshootR/reference/plotTransect.html) * [`SoilTaxonomyDendrogram`](http://ncss-tech.github.io/sharpshootR/reference/SoilTaxonomyDendrogram.html) * [`vizGeomorphicComponent`](http://ncss-tech.github.io/sharpshootR/reference/vizHillslopePosition.html) * [`vizHillslopePosition`](http://ncss-tech.github.io/sharpshootR/reference/vizHillslopePosition.html) * [`vizFlatsPosition`](http://ncss-tech.github.io/sharpshootR/reference/vizFlatsPosition.html) * [`vizTerracePosition`](http://ncss-tech.github.io/sharpshootR/reference/vizTerracePosition.html) * [`vizMountainPosition`](http://ncss-tech.github.io/sharpshootR/reference/vizMountainPosition.html) * [`vizAnnualClimate`](http://ncss-tech.github.io/sharpshootR/reference/vizAnnualClimate.html) * [`plotWB`](http://ncss-tech.github.io/sharpshootR/reference/plotWB.html) * [`plotWB_lines`](http://ncss-tech.github.io/sharpshootR/reference/plotWB_lines.html) ### Climate * [`monthlyWB`](http://ncss-tech.github.io/sharpshootR/reference/monthlyWB.html) * [`simpleWB`](http://ncss-tech.github.io/sharpshootR/reference/simpleWB.html) * [`dailyWB`](http://ncss-tech.github.io/sharpshootR/reference/dailyWB.html) * [`dailyWB_SSURGO`](http://ncss-tech.github.io/sharpshootR/reference/dailyWB_SSURGO.html) * [`CDECquery`](http://ncss-tech.github.io/sharpshootR/reference/CDECquery.html) * [`CDECsnowQuery`](http://ncss-tech.github.io/sharpshootR/reference/CDECsnowQuery.html) * [`FFD`](http://ncss-tech.github.io/sharpshootR/reference/FFD.html) * [`FFDplot`](http://ncss-tech.github.io/sharpshootR/reference/FFD.html) * [`PCP_plot`](http://ncss-tech.github.io/sharpshootR/reference/PCP_plot.html) * [`waterDayYear`](http://ncss-tech.github.io/sharpshootR/reference/waterDayYear.html) ### Spatial Data * [`constantDensitySampling`](http://ncss-tech.github.io/sharpshootR/reference/constantDensitySampling.html) * [`generateLineHash`](http://ncss-tech.github.io/sharpshootR/reference/generateLineHash.html) * [`polygonAdjacency`](http://ncss-tech.github.io/sharpshootR/reference/polygonAdjacency.html) * [`PLSS2LL`](http://ncss-tech.github.io/sharpshootR/reference/PLSS2LL.html) * [`LL2PLSS`](http://ncss-tech.github.io/sharpshootR/reference/LL2PLSS.html) * [`sample.by.poly`](http://ncss-tech.github.io/sharpshootR/reference/sample.by.poly.html) * [`samplingStability`](http://ncss-tech.github.io/sharpshootR/reference/samplingStability.html) * [`sampleRasterStackByMU`](http://ncss-tech.github.io/sharpshootR/reference/sampleRasterStackByMU.html) ### Utility * [`component.adj.matrix`](http://ncss-tech.github.io/sharpshootR/reference/component.adj.matrix.html) * [`dist.along.grad`](http://ncss-tech.github.io/sharpshootR/reference/dist.along.grad.html) ### Misc. * [`percentileDemo`](http://ncss-tech.github.io/sharpshootR/reference/percentileDemo.html) * [`multinominal2logical`](http://ncss-tech.github.io/sharpshootR/reference/multinominal2logical.html) * [`site_photos_kml`](http://ncss-tech.github.io/sharpshootR/reference/site_photos_kml.html) ## Related Packages * [`aqp`](https://github.com/ncss-tech/aqp) * [`soilDB`](https://github.com/ncss-tech/soilDB) ## Related Presentations / Posters * [Numerical Classification of Soil Profiles (2023 NCSS Meetings)](https://ncss-tech.github.io/AQP/presentations/2023-NCSS-NCSP-poster.pdf)
Owner metadata
- Name: ncss-tech
- Login: ncss-tech
- Email:
- Kind: organization
- Description: Collection of repositories contributed by members of the National Cooperative Soil Survey
- Website: http://ncss-tech.github.io/AQP/
- Location: United States of America
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/10520265?v=4
- Repositories: 67
- Last ynced at: 2023-06-14T17:35:13.002Z
- Profile URL: https://github.com/ncss-tech
GitHub Events
Total
- Issues event: 4
- Watch event: 1
- Issue comment event: 3
- Push event: 33
Last Year
- Issues event: 4
- Watch event: 1
- Issue comment event: 3
- Push event: 33
Committers metadata
Last synced: 6 days ago
Total Commits: 1,269
Total Committers: 9
Avg Commits per committer: 141.0
Development Distribution Score (DDS): 0.221
Commits in past year: 38
Committers in past year: 2
Avg Commits per committer in past year: 19.0
Development Distribution Score (DDS) in past year: 0.342
Name | Commits | |
---|---|---|
Dylan Beaudette | d****e | 989 |
Andrew G. Brown | a****n@u****v | 116 |
Beaudette | d****e@c****v | 49 |
Pierre Roudier | p****r | 47 |
Jay Skovlin | j****n | 36 |
Stephen Roecker | s****r@g****m | 16 |
Jay Skovlin | j****n@g****m | 10 |
Itai Trilnick | i****k@g****m | 5 |
Jay Skovlin | 1****2@F****V | 1 |
Committer domains:
- fedidcard.gov: 1
- ca.usda.gov: 1
- usda.gov: 1
Issue and Pull Request metadata
Last synced: 1 day ago
Total issues: 45
Total pull requests: 15
Average time to close issues: over 1 year
Average time to close pull requests: 12 days
Total issue authors: 7
Total pull request authors: 4
Average comments per issue: 1.09
Average comments per pull request: 1.47
Merged pull request: 14
Bot issues: 0
Bot pull requests: 0
Past year issues: 3
Past year pull requests: 0
Past year average time to close issues: about 17 hours
Past year average time to close pull requests: N/A
Past year issue authors: 3
Past year pull request authors: 0
Past year average comments per issue: 1.67
Past year average comments per pull request: 0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- dylanbeaudette (38)
- brownag (2)
- t6166as (1)
- jhollist (1)
- rsbivand (1)
- MollicMeyer (1)
- adamhsparks (1)
Top Pull Request Authors
- brownag (8)
- trilnick (3)
- jskovlin (2)
- dylanbeaudette (2)
Top Issue Labels
- enhancement (1)
Top Pull Request Labels
Package metadata
- Total packages: 1
-
Total downloads:
- cran: 432 last-month
- Total docker downloads: 21,613
- Total dependent packages: 1
- Total dependent repositories: 4
- Total versions: 24
- Total maintainers: 1
cran.r-project.org: sharpshootR
A Soil Survey Toolkit
- Homepage: https://github.com/ncss-tech/sharpshootR
- Documentation: http://cran.r-project.org/web/packages/sharpshootR/sharpshootR.pdf
- Licenses: GPL (≥ 3)
- Latest release: 2.3.3 (published 11 days ago)
- Last Synced: 2025-04-26T14:01:27.663Z (1 day ago)
- Versions: 24
- Dependent Packages: 1
- Dependent Repositories: 4
- Downloads: 432 Last month
- Docker Downloads: 21,613
-
Rankings:
- Docker downloads count: 0.396%
- Average: 13.304%
- Stargazers count: 14.175%
- Dependent repos count: 14.751%
- Downloads: 15.705%
- Forks count: 17.231%
- Dependent packages count: 17.568%
- Maintainers (1)
Dependencies
- R >= 3.5.0 depends
- Hmisc * imports
- RColorBrewer * imports
- ape * imports
- aqp * imports
- circular * imports
- cluster * imports
- curl * imports
- digest * imports
- e1071 * imports
- grDevices * imports
- graphics * imports
- grid * imports
- igraph * imports
- lattice * imports
- methods * imports
- parallel * imports
- plyr * imports
- reshape2 * imports
- scales * imports
- soilDB * imports
- sp * imports
- stats * imports
- stringi * imports
- utils * imports
- vegan * imports
- Evapotranspiration * suggests
- MASS * suggests
- SoilTaxonomy * suggests
- circlize * suggests
- daymetr * suggests
- dendextend * suggests
- elevatr * suggests
- farver * suggests
- gower * suggests
- httr * suggests
- hydromad >= 0.9.27 suggests
- jsonlite * suggests
- latticeExtra * suggests
- raster * suggests
- rgdal * suggests
- rgeos * suggests
- rvest * suggests
- spdep * suggests
- testthat * suggests
- venn * suggests
- xml2 * suggests
- zoo * suggests
- actions/checkout v3 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- JamesIves/github-pages-deploy-action v4.4.1 composite
- actions/checkout v3 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
Score: 15.565678987032268