View source: R/wdpa_api_pa_search.R
wdpa_api_pa_search | R Documentation |
WDPA API: protected areas search
wdpa_api_pa_search(marine = FALSE, country = NULL, designation = NULL, jurisdiciton = NULL, governance = NULL, iucn_category = NULL, geojson = FALSE, page = 1, per_page = 25, token = NULL, ...)
marine |
(logical) If |
country |
(character) If set, returns all protected areas from the country with the given ISO3, paginated. By default, this is unset: protected areas from all countries are returned. |
designation |
(integer) If set, returns all protected areas designated
with the given |
governance |
(integer) If set, returns all protected areas with the
given governance |
iucn_category |
(integer) If set, returns all protected areas with the
given IUCN category |
geojson |
(logical) If |
page |
(integer) Controls the returned page. Default: 1 |
per_page |
(integer) Controls how many protected areas are returned per page. Default: 25. For performance reasons, the maximum value is 50. |
token |
(character) token. see rwdpa for help on tokens |
... |
curl options passed on to crul::HttpClient |
jurisdiction |
(integer) If set, returns all protected areas with the
given jurisdiciton |
This function uses the Protected Planet API
a data.frame
https://api.protectedplanet.net/documentation
## Not run: wdpa_api_pa_search() wdpa_api_pa_search(per_page = 3) wdpa_api_pa_search(country = "BEL") wdpa_api_pa_search(iucn_category = 3) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.