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

get_ssurgo_inventoryR Documentation

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)

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.

Value

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


ropensci/FedData documentation built on April 12, 2024, 11:44 a.m.