sfn_sites_in_folder | R Documentation |
Retrieves the site codes in the specified folder
sfn_sites_in_folder(folder = ".")
folder |
Character vector of length 1 indicating the route to the db folder |
If folder
A character vector with the site codes present in the folder, an error if the folder is not valid or does not contain any site data file.
# Let's access the data in "folder". This typically is the folder where the # sapflow data at the desired unit level is (i.e. "RData/plant"), but in this # example we will create a temporal folder with some data to test the function folder <- tempdir() save(ARG_TRE, file = file.path(folder, 'ARG_TRE.RData')) save(ARG_MAZ, file = file.path(folder, 'ARG_MAZ.RData')) save(AUS_CAN_ST2_MIX, file = file.path(folder, 'AUS_EUC_ST2_MIX.RData')) # lets see the sites sites <- sfn_sites_in_folder(folder)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.