R/shapefiles.R

readDataShapefile <- function(dirPath, layer) {
  readOGR(dsn = dirPath, layer = layer, encoding = "UTF-8", verbose = F)
}

readDataGeojson <- function(geojsonPath) {
  readOGR(geojsonPath, "OGRGeoJSON", verbose = F)
}
Appsilon/rappsilon documentation built on May 5, 2019, 7:05 a.m.