pa_country_stats: Get PA statistics for a given country.

View source: R/country.R

pa_country_statsR Documentation

Get PA statistics for a given country.

Description

Returns the PA core statistics for a certain country generated by JRC.

Usage

pa_country_stats(country, cache = FALSE)

Arguments

country

Character country name or numeric country code.

cache

Sets the cache mode: TRUE = Use cache if available and save to cache, FALSE = Ignore cache if available and do not save to cache, "flush" = Ignore cache if available and save to cache.

Value

A data.frame of PAs for a given country. Each PA has the following information associated to it:

wdpaid The ID of the protected area, e.g. taken from WCMC ProtectedPlanet.org website
iucn_cat The IUCN protection level category
name Name of the site
extent The geographic extent as xmin,ymin,xmax,ymax string
hriwdpaid The id of the PA corresponding to a computed HRI similarity map
hri The habitat replaceability index value
area The reported area of the site
sri The average species irreplacibility score for mammals, birds and amphibians
pi The population pressure indeces
ap The reported area of the site
wdpa_wkt A simplified WKT representation of the park boundary
gis_area The area of the PA computed from the geometry
numterrsegms The raw number of habitat segments computed from biophysical variables

Author(s)

Joona Lehtomaki <joona.lehtomaki@gmail.com>

See Also

http://dopa-services.jrc.ec.europa.eu/services/ibex/ehabitat/get_pa_country_stats

resolve_country

Examples

## Not run: 
# Get PA country statistics for Uganda
pa_country_stats(country="Uganda")

## End(Not run)


ropensci/rdopa documentation built on May 18, 2022, 6:32 p.m.