Description Usage Arguments Value
Download a direct data access file using download.file
1 2 3 | download_direct(filename, output_filename, output_path = ".",
base_uri = "https://oceandata.sci.gsfc.nasa.gov/cgi/getfile",
mode = "wb", ...)
|
filename |
the name of the file to download - required as 'A2016186.L3m_DAY_CHL_chlor_a_4km.nc' |
output_filename |
character the name of the output file, the default is the same as |
output_path |
the file path to save to, the default is to save to the current path "." |
base_uri |
character Oceandata's base uri (default 'http://oceandata.sci.gsfc.nasa.gov/cgi/getfile') |
mode |
character - see |
... |
other argments for |
0 for success and non-zero otherwise - see download.file
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.