View source: R/utils-canada-load-catch-data.R
canada_load_catch_data | R Documentation |
Load Canadian catch data from files extracted using the FOS web interface
canada_load_catch_data(
dr = "/srv/hake/other/landings/canada",
min_date = as.Date("2007-04-01")
)
dr |
The directory name where the files reside |
min_date |
Earliest date to include in the data returned |
The web interface is queried each year with the DMP landings from April 1,
2007 to present being in one file called LandingsSpeciesDateDMP.csv
and
N files, 1 for each year or LOGS data (logbook discards) with names in
the form LogCatchReportXXXX.csv
with XXXX
being the four digit year
from 2007 to present. These must be separate files due to limitations of
the web software, it cannot process all the years in one query. One new
LOGS
file is added each year and the DMP
file is re-generated each year.
A list of three named data frames, dmp_df
for the DMP data,
logs_df
for the LOGS data, and logs_inside_df
for the area 4B data
which were not included. logs_inside_df
is returned as a convenience
for you to see if any other data from area 4B should be included in the
assessment
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.