getWDPACountries: Get the list of countries in the WDPA

Description Usage Arguments Examples

Description

This function gets the countries available in the WDPA database, in which the regions are grouped in.

Usage

1
getWDPACountries(filename = NA, api_key)

Arguments

filename

Store the list of countries and their ISO code to this file in CSV format

api_key

ProtectedPlanet.net API key

Examples

1
2
3
4
5
## Not run: 
countries <- getWDPACountries(api_key='xxxxxxxxxxx')
countries <- getWDPACountries(filename = 'countries.csv', api_key='xxxxxxxxxxx')

## End(Not run)

ljvillanueva/rWDPA documentation built on May 21, 2019, 7:33 a.m.