mr_names: Get region names - v2

Description Usage Arguments Value Examples

View source: R/mr_names2.R

Description

Get region names - v2

Usage

1
mr_names(layer, ...)

Arguments

layer

A layer name, one of MarineRegions:eez, MarineRegions:eez_boundaries, MarineRegions:iho, MarineRegions:fao, or MarineRegions:lme

...

Curl options passed on to GET

Value

a data.frame, or tibble, of class tbl_df (basically, a compact data.frame), with slots:

additional columns vary by layer

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
# mr_names gives a tidy data.frame
(res <- mr_names("MarineRegions:eez"))
(res <- mr_names('MarineRegions:eez_boundaries'))
(res <- mr_names('MarineRegions:iho'))
(res <- mr_names('MarineRegions:fao'))
(res <- mr_names('MarineRegions:lme'))

## End(Not run)

mregions documentation built on May 2, 2019, 6:53 a.m.