This function downloads the WDPA shapefile for a country (www.protectedplanet.net). If the file is already on disk it will not perform the download.
getWDPA(cod, destfolder = "WDPA", unzip = TRUE, ...)
cod | Three letter ISO code for the country. |
---|---|
destfolder | The destination folder |
unzip | Unzip the downloaded files? Defaults to TRUE |
... | Options for download.file() |
https://www.protectedplanet.net
Andrea Sánchez-Tapia & Sara Mortara
if (FALSE) { getWDPA(cod = "BRA", unzip = TRUE) }