Function to download the test data files from zenodo that are needed to run HELPS.
get_example_data(
write_dir = getwd(),
dir_name = "HELPS_Example_Data",
data_links =
c("https://zenodo.org/records/14270969/files/monthly_inputs_example.zip?download=1",
"https://zenodo.org/records/14270969/files/daily_inputs_example.zip?download=1")
)
Arguments
- write_dir
Default = getwd()
- dir_name
= "HELPS_Example_Data". Name of directory to install zip file to.
- data_link
Default =
c(""https://zenodo.org/records/14270969/files/daily_inputs_example.zip?download=1",
"https://zenodo.org/records/14270969/files/monthly_inputs_example.zip?download=1")
Value
path with example input data
Examples
if (FALSE) { # \dontrun{
library(HELPS)
HELPS::get_example_data()
} # }