process_sedac_groads {amadeus} | R Documentation |
The process_sedac_groads()
function imports and cleans raw road data,
returning a single SpatVector
object.
process_sedac_groads(path = NULL, extent = NULL, ...)
path |
character(1). Path to geodatabase or shapefiles. |
extent |
numeric(4) or SpatExtent giving the extent of the raster
if |
... |
Placeholders. |
a SpatVector
object
U.S. context. The returned SpatVector
object contains a
$description
column to represent the temporal range covered by the
dataset. For more information, see https://earthdata.nasa.gov/data/catalog/sedac-ciesin-sedac-groads-v1-1.00.
Insang Song
## NOTE: Example is wrapped in `\dontrun{}` as function requires a large
## amount of data which is not included in the package.
## Not run:
groads <- process_sedac_groads(
path = "./data/groads_example.shp"
)
## End(Not run)