marinetrophicindex: Get MTI as a data frame or chart

Description Usage Arguments Value Examples

View source: R/marinetrophicindex.R

Description

Get MTI as a data frame or chart

Usage

1
2
marinetrophicindex(region, id, chart = FALSE, type = "mean_trophic_level",
  transferefficiency = 0.1, ...)

Arguments

region

(character) region type. one of: eez, lme, rfmo, highseas, fao, eez-bordering, fishing-entity, taxon, or global

id

(character/integer/numeric) region id. depends on what region is specified. See regions for details

chart

boolean to return a chart versus a data frame Default: FALSE

type

MTI data set ("mean_trophic_level", "fib_index", or "rmti") Default: "mean_trophic_level"

transferefficiency

float used for FiB index input Default: 0.1

...

curl options passed on to crul::HttpClient

Value

data frame (or chart) with MTI data

Examples

1
2
3
4
5
6
7
marinetrophicindex(region = "eez", id = 76)
marinetrophicindex("eez", 76, type="fib_index")
marinetrophicindex("eez", 76, type="fib_index", transferefficiency=0.25)
## Not run: 
marinetrophicindex("eez", 76, chart=TRUE)

## End(Not run)

seaaroundus documentation built on May 2, 2019, 8:20 a.m.