https://github.com/cran/FedData
Raw File
Tip revision: 781f93f0720f7fb19ac70db9c6073c69b6cb2e2b authored by R. Kyle Bocinsky on 28 November 2022, 07:00:02 UTC
version 3.0.1
Tip revision: 781f93f
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