download_om | R Documentation |
Download an operating model from the DLMtool website
download_om(
file = "default-download-om.rds",
web_file,
base_url = "http://www.datalimitedtoolkit.org/Case_Studies_Table/",
method = "wget",
overwrite = FALSE
)
file |
The name of the file. If there is no .rds extension one will be appended |
web_file |
Like this: "Pacific_Ocean_Perch_QC_BC_DFO/OM.rdata" See webpage for listing |
base_url |
The URL to find the web_file on |
method |
Download method. It seems that on "wget" works on MS Windows |
overwrite |
TRUE or FALSE to overwrite file |
## Not run:
download_om("pop", "Pacific_Ocean_Perch_QC_BC_DFO/OM.rdata")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.