Learn R Programming

⚠️There's a newer version (2.8.8) of this package.Take me there.

soilDB (version 2.8.4)

Soil Database Interface

Description

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.

Copy Link

Version

Install

install.packages('soilDB')

Monthly Downloads

1,923

Version

2.8.4

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Andrew Brown

Last Published

August 17th, 2024

Functions in soilDB (2.8.4)

createStaticNASIS

Create a memory or file-based instance of NASIS database
SDA_query

Query Soil Data Access
downloadSSURGO

Get SSURGO ZIP files from Web Soil Survey 'Download Soils Data'
SDA_spatialQuery

Query Soil Data Access by spatial intersection with supplied geometry
KSSL_VG_model

Develop a Water Retention Curve from KSSL Data
dbQueryNASIS

Query a NASIS DBIConnection
ISSR800.wcs

Get 800m gridded soil properties from SoilWeb ISSR-800 Web Coverage Service (WCS)
fetchRaCA

Get Rapid Carbon Assessment (RaCA) data
fetchPedonPC

Get a SoilProfileCollection from a PedonPC v.5 database
STRplot

Graphical Description of US Soil Taxonomy Soil Temperature Regimes
SoilWeb_spatial_query

Get SSURGO Data via Spatial Query
fetchNASISWebReport

Get component tables from NASIS Web Reports
dbConnectNASIS

Create local NASIS database connection
fetchSoilGrids

Get SoilGrids 2.0 Property Estimates for Points or Spatial Extent
fetchNASIS

Get a pedon or component data SoilProfileCollection from NASIS
format_SQL_in_statement

Format vector of values into a string suitable for an SQL IN statement.
filter_geochem

Filter KSSL Geochemical Table
fetchNASISLabData

Get NCSS Pedon laboratory data from NASIS
fetchVegdata

Get vegetation plot data from local NASIS database
fetchOSD

Get Official Series Descriptions and summaries from SoilWeb API
fetchKSSL

Get Kellogg Soil Survey Laboratory Data from SoilWeb snapshot
get_SDA_coecoclass

Get mapunit ecological sites from Soil Data Access
getHzErrorsNASIS

Get Logic Errors in NASIS/PedonPC Pedon Horizon
get_NASIS_metadata

Get NASIS Metadata (Domain, Column and Choice Lists)
WCS_details

Web Coverage Services Details
createSSURGO

Create a database from SSURGO Exports
get_NASIS_table_key_by_name

Get a NASIS table key by type and table name
get_component_from_GDB

Get a SoilProfileCollection from a SSURGO file geodatabase
get_component_from_SDA

Get SSURGO/STATSGO2 Mapunit Data from Soil Data Access
get_OSD

Get Official Series Description Data from JSON, HTML or TXT sources
get_RMF_from_NASIS_db

Get RMF data from local NASIS
get_EDIT_ecoclass_by_geoUnit

Get Ecological Dynamics Information Tool (EDIT) ecological sites by catalog (ESD/ESG) and MLRA
fetchSCAN

Get Daily Climate Data from USDA-NRCS SCAN (Soil Climate Analysis Network) Stations
get_SDA_cosurfmorph

Get Geomorphic/Surface Morphometry Data from Soil Data Access
get_SDA_pmgroupname

Get map unit parent material group information from Soil Data Access
get_SDA_property

Get map unit properties from Soil Data Access
get_NASIS_table_metadata

Get NASIS Table Metadata (Table and Column Descriptions)
summarizeSoilTemperature

Get data from Henry Mount Soil Temperature and Water Database
get_NASIS_table_name_by_purpose

Get NASIS 7 Physical Table Names
get_SDV_legend_elements

Get Soil Data Viewer Attribute Information
get_SRI

Get Soil Inventory Resource (SRI) for USFS Region 6
get_hz_data_from_pedon_db

Get Horizon Data from a PedonPC Database
get_SRI_layers

Get SRI Layers
get_colors_from_pedon_db

Get Soil Color Data from a PedonPC Database
get_comonth_from_NASIS_db

Get component month data from a local NASIS Database
fetchLDM

Query data from Kellogg Soil Survey Laboratory Data Mart via Soil Data Access or local SQLite snapshot
get_extended_data_from_pedon_db

Get accessory tables and summaries from a local pedonPC Database
get_hz_data_from_NASIS_db

Get Horizon Data from a local NASIS Database
get_lablayer_data_from_NASIS_db

Get lab pedon layer data from a local NASIS Database
get_colors_from_NASIS_db

Get Soil Color Data from a local NASIS Database
get_NOAA_stations_nearXY

Get NOAA station data near a given latitude and longitude
get_NOAA_GHCND

Get Global Historical Climatology Network Daily (GHCND) data from NOAA API
get_component_data_from_NASIS_db

Get component data from a local NASIS Database
fetchSDA_spatial

Get Spatial Data from Soil Data Access by mukey, nationalmusym or areasymbol
get_veg_from_AK_Site

Get Vegetation Data from an AK Site Database
get_SDA_metrics

Get Soil Data Access, Lab Data Mart and Web Soil Survey Usage Metrics
local_NASIS_defined

Check for presence of nasis_local ODBC data source
get_SDA_muaggatt

Get map unit aggregate attribute information from Soil Data Access
fetchSRI

Fetch Soil Inventory Resource (SRI) for USFS Region 6
get_cosoilmoist_from_NASIS

Get the Component Soil Moisture Tables
get_text_notes_from_NASIS_db

Get text note data from a local NASIS Database
get_veg_data_from_NASIS_db

Get vegetation data from a local NASIS Database
get_veg_from_MT_veg_db

Get Site and Plot-level Data from a Montana RangeDB database
get_SDA_hydric

Get map unit hydric soils information from Soil Data Access
get_SDA_interpretation

Get map unit interpretations from Soil Data Access by rule name
makeChunks

Generate chunk labels for splitting data
soilDB.env

Get the soilDB environment used for storing error messages and quality control output
mukey.wcs

Get Map Unit Key (mukey) grid from SoilWeb Web Coverage Service (WCS)
get_site_data_from_NASIS_db

Get Site Data from a local NASIS Database
get_site_data_from_pedon_db

Get Site Data from a PedonPC Database
parseWebReport

Parse contents of a web report, based on supplied arguments.
get_ecosite_history_from_NASIS_db

Get Site Ecological Site History
get_veg_species_from_MT_veg_db

Get species-level Data from a Montana RangeDB database
make_EDIT_service_URL

Make Ecological Dynamics Interpretive Tool (EDIT) web services URL
metadata

NASIS 7 Metadata
soilDB-package

Soil Database Interface
get_soilseries_from_NASIS

Get records from the Series Classification (SC) database
taxaExtent

Get SoilWeb 800m Major Component Soil Taxonomy Grids
seriesExtent

Retrieve Soil Series Extent Maps from SoilWeb
processSDA_WKT

Post-process Well-Known Text from Soil Data Access
loafercreek

Example SoilProfilecollection Objects Returned by fetchNASIS.
siblings

Get "siblings" and "cousins" for a given soil series
uncode

Convert coded values returned from NASIS and SDA queries into human-readable values
us_ss_timeline

Timeline of US Published Soil Surveys
simplifyColorData

Simplify Color Data by ID
waterDayYear

Compute Water Day and Year
get_extended_data_from_NASIS_db

Get accessory tables and summaries from a local NASIS Database
get_labpedon_data_from_NASIS_db

Get lab pedon data from a local NASIS Database
get_veg_from_NPS_PLOTS_db

Get Vegetation Data from an NPS PLOTS Database
soilColor.wcs

Get 30m or 270m gridded soil soil color data from SoilWeb Web Coverage Service (WCS)
get_mapunit_from_NASIS

Get Legend, Mapunit and Legend Mapunit Area Overlap Tables
simplifyArtifactData

Simplify Coarse Fraction Data
get_veg_other_from_MT_veg_db

Get cover composition data from a Montana RangeDB database
ROSETTA

Query USDA-ARS ROSETTA Model API
SCAN_SNOTEL_metadata

Get SCAN and SNOTEL Station Metadata
NASIS_table_column_keys

NASIS 7 Tables, Columns and Foreign Keys
NASISDomainsAsFactor

Get/Set Options for Encoding NASIS Domains as Factors
NASISChoiceList

Work with NASIS Choice Lists
estimateColorMixture

Estimate color mixtures using weighted average of CIELAB color coordinates
estimateSTR

Estimate Soil Temperature Regime
OSDquery

Search full text of Official Series Description on SoilWeb