View source: R/get_foreign_data.R
get_foreign_data | R Documentation |
Downloads, imports, aggregates NAFO data from 21B data base
get_foreign_data(
filterByYear = NA,
filterByArea = NA,
removeUSA = T,
aggregateCountry = T
)
filterByYear |
Numeric vector. Years for which data is required |
filterByArea |
Character vector. NAFO Areas for which data is required |
removeUSA |
Boolean. Should USA landings be removed from data set? (Default = T, remove) |
aggregateCountry |
Boolean. Should all catch be aggregated over country codes? (Default = T) |
Data frame: NAFO data
Year |
Year of catch |
MONTH |
Month of catch |
QY |
Quatere year of catch. Jan-Mar = 1, ..., Oct-Dec = 4 |
GearCode |
NAFO gear code |
Tonnage |
Size class of vessel |
DivCode |
Division code in which vessel reported catch |
Code |
NAFO species code of landed fish |
SPPLIVMT |
catch in Metric tons |
Country |
Reporting country - only if |
NAFO 21B website: https://www.nafo.int/Data/Catch-Statistics-STATLANT-21B
nafoData <- get_foreign_data(filterByYear = 2000)
head(nafoData)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.