catchdata: Get catch data for a region as a dataframe

Description Usage Arguments Value Examples

View source: R/catchdata.R

Description

Get catch data for a region as a dataframe

Usage

1
catchdata(region, id, ...)

Arguments

region

(character) region of the data. Only one of "eez", "lme", "rfmo", "meow" will return data.

id

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

...

curl options passed on to crul::HttpClient().

Value

data frame with catch data for the requested region over the period 1950-2014.

Examples

1
2
3
4
5
6
## Not run: 
catchdata("eez", 76)
head(catchdata("eez", 76))
catchdata("rfmo", 1)

## End(Not run)

SeaAroundUs/rseaaroundus documentation built on Feb. 29, 2020, 2:10 a.m.