extract_ssurgo_data: Extract data from a SSURGO databse pertaining to a set of mapunits.
Description
extract_ssurgo_data creates a directed graph of the joins in a SSURGO tabular dataset,
and then iterates through the tables, only retaining data pertinant to a set of mapunits.
Usage
extract_ssurgo_data(tables, mapunits)
Arguments
tables
A list of SSURGO tabular data.
mapunits
A character vector of mapunits (likely dropped from SSURGO spatial data)
defining which mapunits to retain.