Skip to contents

get_example_data

Usage

get_example_data(
  download_url = "",
  file_extension = "zip",
  data_dir = file.path(getwd(), "example"),
  check_exist = TRUE
)

Arguments

download_url

Link to the downloadable dataset

file_extension

Default = 'zip'. String of file extension without "."

data_dir

Default= file.path(getwd(), 'example'). Path of desired location to download data

check_exist

Default = TRUE. Binary to check if the example data already exists. If TRUE, then function gives error if the downloaded folder already exist