Description Usage Arguments Details Examples
View source: R/build_filename_list.R
Create list of Filenames
1 2 3 4 5 6 7 8 9 10 | 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
.
1 2 3 4 5 6 7 8 9 10 11 12 | 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.