Learn R Programming

FedData (version 4.2.0)

get_ssurgo_inventory: Download and crop a shapefile of the SSURGO study areas.

Description

get_ssurgo_inventory returns a SpatialPolygonsDataFrame of the SSURGO study areas within the specified template. If template is not provided, returns the entire SSURGO inventory of study areas.

Usage

get_ssurgo_inventory(template = NULL, raw.dir)

Value

A SpatialPolygonsDataFrame of the SSURGO study areas within the specified template.

Arguments

template

An Simple Feature or SpatRaster object to serve as a template for cropping.

raw.dir

A character string indicating where raw downloaded files should be put. The directory will be created if missing.