read_shapefiles | R Documentation |
Using rgdal::readOGR()
, read in one or more shapefiles.
read_shapefiles(
filenames,
filepaths = NULL,
projection = NULL,
stringsAsFactors = FALSE
)
filenames |
Character string or vector of character strings. The filename(s) of the shapefile(s) to read in. May be the full filepath(s) to the shapefile(s), in which case use |
filepaths |
Optional character string or vector of character strings. The filepath(s) to the location(s) where the shapefile(s) matching |
projection |
Optional CRS object. The projection to return the shapefile(s) in as a CRS object, e.g. |
stringsAsFactors |
Logical. To be passed to |
Spatial data frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.