Download locally the example data from the data repository in the SticsRPacks organization.

download_data(
  out_dir = tempdir(),
  example_dirs = NULL,
  stics_version = "latest"
)

Arguments

out_dir

Path of the directory where to download the data

example_dirs

List of use case directories names (optional)

stics_version

Name of the STICS version (optional) The default value is the latest version returned by get_stics_versions_compat().

Value

The path of the folder data have been downloaded into

Examples


# Getting data for a given example : study_case_1 and a given STICS version
download_data(example_dirs = "study_case_1", stics_version = "V9.0")
#> [1] "/private/var/folders/tp/bfmjfn9s0hd59bm9z80j3mgm0000gn/T/RtmpMutobK/data-master/study_case_1/V9.0"