Learn R Programming

amadeus (version 1.2.2)

process_groads: Process roads data

Description

The process_groads() function imports and cleans raw road data, returning a single SpatVector object.

Usage

process_groads(path = NULL, extent = NULL, ...)

Value

a SpatVector object

Arguments

path

character(1). Path to geodatabase or shapefiles.

extent

numeric(4) or SpatExtent giving the extent of the raster if NULL (default), the entire raster is loaded

...

Placeholders.

Author

Insang Song

Examples

Run this code
## NOTE: Example is wrapped in `\dontrun{}` as function requires a large
##       amount of data which is not included in the package.
if (FALSE) {
groads <- process_groads(
  path = "./data/groads_example.shp"
)
}

Run the code above in your browser using DataLab