Learn R Programming

APfun (version 0.1.6)

APSHPread: AP Read Shapefile

Description

Read a Shapefile from a path

Usage

APSHPread(filePath, warnings = FALSE)

Arguments

filePath

character. Path to file

warnings

logical. If FALSE, then warnings will be suppressed

Value

SpatialPolygonsDataFrame

Examples

Run this code
# NOT RUN {
inPoly <- APSHPread("C:/Geodata/myfile.shp")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab