get_example_data: get_example_data

View source: R/get_example_data.R

get_example_dataR Documentation

get_example_data

Description

Function to download the test data files from zenodo that are needed to run Osiris.

Usage

get_example_data(
  write_dir = getwd(),
  dir_name = "Osiris_Data_Test",
  data_link = "https://zenodo.org/record/7530067/files/Osiris_Data_Test.zip?download=1"
)

Arguments

write_dir

Default = getwd()

dir_name

= "Osiris_Data_Test". Name of directory to install zip file to.

data_link

Default = "https://zenodo.org/record/7530067/files/Osiris_Data_Test.zip?download=1"

Value

number

Examples

## Not run: 
library(osiris)
osiris::get_example_data()

## End(Not run)

JGCRI/osiris documentation built on May 12, 2024, 6:28 a.m.