Skip to contents

Reads in a data frame for a model file

Usage

get_data(
  dataname,
  dir = paste0(find.package("mldash"), "/datasets"),
  cache_dir = tempdir(),
  use_cache = TRUE
)

Arguments

dir

directory containing the dcf files for the datasets.

cache_dir

directory where rds data files will be stored.

use_cache

whether to read data from the cache if available. If FALSE, then the data will be retrieved from the data function parameter.

Value

the data.frame of the data.