https://github.com/cran/FedData
Raw File
Tip revision: ec6fb1cf6e009ff2cbdea0287158d33821578667 authored by R. Kyle Bocinsky on 17 March 2024, 00:40:03 UTC
version 4.0.1
Tip revision: ec6fb1c
extract_ssurgo_data.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/SSURGO_FUNCTIONS.R
\name{extract_ssurgo_data}
\alias{extract_ssurgo_data}
\title{Extract data from a SSURGO database pertaining to a set of mapunits.}
\usage{
extract_ssurgo_data(tables, mapunits)
}
\arguments{
\item{tables}{A list of SSURGO tabular data.}

\item{mapunits}{A character vector of mapunits (likely dropped from SSURGO spatial data)
defining which mapunits to retain.}
}
\value{
A list of extracted SSURGO tabular data.
}
\description{
\code{extract_ssurgo_data} creates a directed graph of the joins in a SSURGO tabular dataset,
and then iterates through the tables, only retaining data pertinent to a set of mapunits.
}
\keyword{internal}
back to top