landings: 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
landings(country = NA, species = NA,
curl = getCurlHandle(), ...)
Arguments
country
Default is NA. Download country
specific data by specifying the ISO-3166 alpha 3 country
code.
species
Default is NA. Download species
specific data by specifying the three-letter ASFIS
species code
curl
Pass curl handle when calling function
recursively.