Learn R Programming

Rnightlights (version 0.1.2)

getPolyFname: Returns the directory name of the unzipped shapefile downloaded from GADM.ORG without the path

Description

Returns the directory name of the unzipped shapefile downloaded from www.GADM.ORG without the path

Usage

getPolyFname(ctryCode)

Arguments

ctryCode

character the ISO3 code of the country

Value

character path to zip

Examples

Run this code
# NOT RUN {
getPolyFnameZip("KEN")
# }
# NOT RUN {
 #returns "path/to/"

# }

Run the code above in your browser using DataLab