allregions: Ocean Health Index: Global regions

Description Usage Arguments Value See Also Examples

Description

Functions to join with global regions

Usage

1
allregions(d = NULL, scope = "all")

Arguments

d

The data frame to join with. If NULL, returns all regions.

scope

'all' for all global regions, or 'eez' for EEZ/country regions.

Value

Returns a data.frame containing a left join of regions.

See Also

merge

Examples

1
2
3
d <- data.frame(id=1:50, status=runif(50, 0, 1))
allregions(d) # returns status=NA for all but the first 50 regions
ohi.load('regions_details')

bbest/ohigui documentation built on May 11, 2019, 9:25 p.m.