of_landings {rfisheries} | R Documentation |
Returns landings data from the openfisheries API
Description
The function returns aggregate landings data if no parameters are supplied. One could get country or species-specific data by specifying either one of those options. Country must be provided as the iso3c
code and species must be supplied as a3_code. Supporting functions country_codes
and species_codes
provide that data and can be combined to return data for multiple countries or species.
Usage
of_landings(country = NA, species = NA, foptions = list())
Arguments
country |
Default is |
species |
Default is |
foptions |
additional optional parameters |
Value
data.frame
Examples
## Not run:
of_landings()
# Landings by country
of_landings(country = 'CAN')
#landings by species
of_landings(species = 'COD')
## End(Not run)
[Package rfisheries version 0.2 Index]