GIS: imports shapefiles & dbf

importShapefiles(shp.files = dir(path = system.file("extdata", "qgis",
  package = "kwb.demeau"), pattern = ".shp", full.names = TRUE))

Arguments

shp.files

vector with full paths to shapefiles "Boundary", "Ponds", "Observation wells" to be imported (with or without file extension ".shp")

Value

Imported GIS shapefiles in an R data.frame

Examples

shp.dir <- system.file("extdata", "qgis", package="kwb.demeau") shp.files <- dir(path = shp.dir, pattern = ".shp", full.names = TRUE) ### Store GIS data in R data.frame "gisData" gisData <- importShapefiles(shp.files) ### Plot imported GIS data: