download.meds | R Documentation |
Download data hosted by Fisheries and Oceans Canada (DFO) Marine Environmental Data Section (MEDS).
download.meds(year, month, destdir = ".")
year |
Number giving the year of interest |
month |
Optional number indicating the month |
destdir |
Optional string indicating the directory in which to store
downloaded files. If not supplied, |
This function downloads data hosted by Fisheries and Oceans Canada
(DFO) Marine Environmental Data Section (MEDS) via an ftp connection.
Users have the option of supplying the year and or month. Note that the year
and month specified does not necessarily mean that the data contained in
those files was aquired during the year and month in question. The data file
will contain all the data received by MEDS during that year and month. For each
requested year and or month will download two files, a .hdr
and a .prf
file. Both are required when reading the data as the .hdr
file contains
some basic metadata, and .prf
contains all of the data.
Chantelle Layton
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.