Package: sharpshootR 2.3.3

Dylan Beaudette

sharpshootR: A Soil Survey Toolkit

A collection of data processing, visualization, and export functions to support soil survey operations. Many of the functions build on the `SoilProfileCollection` S4 class provided by the aqp package, extending baseline visualization to more elaborate depictions in the context of spatial and taxonomic data. While this package is primarily developed by and for the USDA-NRCS, in support of the National Cooperative Soil Survey, the authors strive for generalization sufficient to support any soil survey operation. Many of the included functions are used by the SoilWeb suite of websites and movile applications. These functions are provided here, with additional documentation, to enable others to replicate high quality versions of these figures for their own purposes.

Authors:Dylan Beaudette [cre, aut], Jay Skovlin [aut], Stephen Roecker [aut], Andrew Brown [aut], USDA-NRCS Soil Survey Staff [ctb]

sharpshootR_2.3.3.tar.gz
sharpshootR_2.3.3.zip(r-4.5)sharpshootR_2.3.3.zip(r-4.4)sharpshootR_2.3.3.zip(r-4.3)
sharpshootR_2.3.3.tgz(r-4.5-any)sharpshootR_2.3.3.tgz(r-4.4-any)sharpshootR_2.3.3.tgz(r-4.3-any)
sharpshootR_2.3.3.tar.gz(r-4.5-noble)sharpshootR_2.3.3.tar.gz(r-4.4-noble)
sharpshootR_2.3.3.tgz(r-4.4-emscripten)sharpshootR_2.3.3.tgz(r-4.3-emscripten)
sharpshootR.pdf |sharpshootR.html
sharpshootR/json (API)
NEWS

# Install 'sharpshootR' in R:
install.packages('sharpshootR', repos = c('https://ncss-tech.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/ncss-tech/sharpshootr/issues

Datasets:

On CRAN:

Conda:

8.37 score 18 stars 327 scripts 574 downloads 70 exports 36 dependencies

Last updated 18 days agofrom:fb4acc3d29. Checks:1 OK, 8 WARNING. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 04 2025
R-4.5-winWARNINGMar 04 2025
R-4.5-macWARNINGMar 04 2025
R-4.5-linuxWARNINGMar 04 2025
R-4.4-winWARNINGMar 04 2025
R-4.4-macWARNINGMar 04 2025
R-4.4-linuxWARNINGMar 04 2025
R-4.3-winWARNINGMar 04 2025
R-4.3-macWARNINGMar 04 2025

Exports:aspect.plotCDEC_StationInfoCDECqueryCDECsnowQuerycolorMixtureVenncomponent.adj.matrixconstantDensitySamplingDAF.BDAF.CDAF.DDAF.GdailyWBdailyWB_SSURGOdiagnosticPropertyPlotdiagnosticPropertyPlot2dist.along.graddueling.dendrogramsESS_by_Moran_IestimateSoilMoistureStateFFDFFDplotformatPLSSgenerateLineHashgeomPosHillProbabilitygeomPosMountainProbabilityHenryTimeLinehillslope.probabilityhillslopeProbabilityhuePositionPlothydOrderisMineralSoilMaterialiterateHydOrderjoinAdjacencyLL2PLSSmoistureStateProportionsmoistureStateStatsmoistureStateThresholdmonthlyWBmonthlyWB_summaryMoran_I_ByRastermultinominal2logicalPCP_plotpercentileDemoplotAvailWaterplotDAFplotGeomorphCrossSectionplotSoilRelationChordGraphplotSoilRelationGraphplotTransectplotWBplotWB_linesPLSS2LLpolygonAdjacencyprepare_SSURGO_hydro_dataprepareDailyClimateDatareconcileOSDGeomorphsample.by.polysampleRasterStackByMUsamplingStabilitysimpleWBsite_photos_kmlSoilTaxonomyDendrogramsurfaceShapeProbabilityvizAnnualClimatevizFlatsPositionvizGeomorphicComponentvizHillslopePositionvizMountainPositionvizSurfaceShapevizTerracePosition

Dependencies:apeaqpbootcircularclasscliclustercolorspacecurldata.tableDBIdigeste1071farvergluelabelinglatticelifecyclemagrittrMASSmunsellmvtnormnlmeplyrproxyR6RColorBrewerRcppreshape2rlangscalessoilDBstringistringrvctrsviridisLite

An Overview of the sharpshootR Package

Rendered fromsharpshootR-overview.Rmdusingknitr::rmarkdownon Mar 04 2025.

Last update: 2024-04-08
Started: 2023-12-29

Readme and manuals

Help Manual

Help pageTopics
A collection of functions to support soil surveysharpshootR-package sharpshootR
Plot aggregate soil color dataaggregateColorPlot
SSURGO Data Associated with the Amador Soil Seriesamador
Plot Aspect Dataaspect.plot
CDEC Sensor Details (by Station)CDEC_StationInfo
CDEC Snow Course ListCDEC.snow.courses
Easy Access to the CDEC APICDECquery
Get snow survey data (California only) from the CDEC website.CDECsnowQuery
Create a Venn Diagram of Simulated Color MixturescolorMixtureVenn
Create an adjacency matrix from a data.frame of component datacomponent.adj.matrix
Sample Polygons at a Fixed DensityconstantDensitySampling
Simple Daily Water BalancedailyWB
Perform daily water balance modeling using SSURGO and DAYMETdailyWB_SSURGO
Diagnostic Property Plot (base graphics)diagnosticPropertyPlot
Diagnostic Property Plot (lattice)diagnosticPropertyPlot2
Compute Euclidean distance along a gradient.dist.along.grad
Dueling Dendrogramsdueling.dendrograms
Estimate Effective Sample SizeESS_by_Moran_I
A very simple estimation of soil moisture state based on volumetric water contentestimateSoilMoistureState
Frost-Free Day EvaluationFFD
Plot output from FFD()FFDplot
formatPLSSformatPLSS
Generate a unique ID for line segmentsgenerateLineHash
Geomorphic Position Probability via SDAgeomPosHillProbability geomPosMountainProbability hillslope.probability hillslopeProbability surfaceShapeProbability
Sensor Data Timeline from Henry Mount Soil and Water DBHenryTimeLine
Highland MeadowsHHM
Hue Position CharthuePositionPlot
Hydrologic Ordering of a Geomorphic Proportion MatrixhydOrder
Mineral Soil Material Criteria from 12th Ed. of KSTisMineralSoilMaterial
Iteratively Attempt Hydrologic Ordering of Geomorphic Proportion MatrixiterateHydOrder
Join Document AdjacencyjoinAdjacency
LL2PLSSLL2PLSS plssMeridians
Compute moisture state proportionsmoistureStateProportions
Statistics on Soil Moisture StatemoistureStateStats
Apply a threshold to soil moisture statesmoistureStateThreshold
Monthly Water BalancesmonthlyWB
Water Balance SummariesmonthlyWB_summary
Compute Moran's I for a raster sampled from a mapunit extentMoran_I_ByRaster
Convert Multinominal to Logical Matrixmultinominal2logical
Example output from soilDB::fetchOSD()OSDexamples
Percentiles of Cumulative PrecipitationPCP_plot
Demonstration of Percentiles vs. Mean / SDpercentileDemo
Visual Demonstration of Available Soil WaterplotAvailWater
Present a 'SoilProfileCollection' aligned to a geomorphic summary as cross-section.plotGeomorphCrossSection
Plot soil profiles below a dendrogramplotProfileDendrogram
Visualize Soil Relationships via Chord DiagramplotSoilRelationChordGraph
Plot a component relation graphplotSoilRelationGraph
Arrange Profiles along a TransectplotTransect
Visualize Monthly Water BalanceplotWB
Line / Area Visualization for Monthly Water BalanceplotWB_lines
PLSS2LLPLSS2LL
Summarize Spatial Adjacency of Polygon FabricpolygonAdjacency
Get and prepare basic soil hydraulic parameters from SSURGO via SDAprepare_SSURGO_hydro_data
Prepare daily climate data (DAYMET) for a single pointprepareDailyClimateData
Reconcile IDs between a SPC and associated geomorphic proportion tablereconcileOSDGeomorph
Sample a Single Polygon at a Target Densitysample.by.poly
Sample a Raster StacksampleRasterStackByMU
Estimate Sampling StabilitysamplingStability
Simple interface to the hydromad "leaky bucket" soil moisture modelsimpleWB
site_photos_kmlsite_photos_kml
Soil Taxonomy DendrogramSoilTaxonomyDendrogram
Table 5.2 from Hole and Campbell, 1985.table5.2
Annual Climate Summaries for Soil Series DatavizAnnualClimate
Visual Summary of Flat Landform PositionsvizFlatsPosition
Visual Summary of Hill Landform PositionsvizGeomorphicComponent
Visual Summary of Hillslope PositionvizHillslopePosition
Visual Summary of Mountain Slope PositionsvizMountainPosition
Visual Summary of Surface ShapevizSurfaceShape
Visual Summary of Terraced Landform PositionsvizTerracePosition