View source: R/build_filename_list.R
| build_filename_list | R Documentation |
Create list of Filenames
build_filename_list( server, directory = "", prefix = "", middle = "", suffix = "", type_extension = "", dirsep = "/", namesep = "." )
server |
server url |
directory |
directory of data within server |
prefix |
start of filename |
middle |
middle of filename |
suffix |
end of filename |
type_extension |
The character string representing file type |
dirsep |
Character used to combine server and directory |
namesep |
Characer used to combine parts of the filenames |
server and directory are concatenated using dirsep. prefix, middle, suffix and type_extension are concatenated using namesep separator.
Uses paste.
server <- "http://dapds00.nci.org.au/thredds/dodsC/ub8/au/OzWALD" #http://dapds00.nci.org.au/thredds/catalog/ub8/au/OzWALD/catalog.html
directory <- "8day/GPP"
prefix <- "OzWALD"
middle <- "GPP"
suffix <- 2000:2018
type_extension <- "nc"
build_filename_list("http://dapds00.nci.org.au/thredds/dodsC/ub8/au/OzWALD",
"8day/GPP",
"OzWALD",
"GPP",
2000:2018,
"nc")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.