get_data: Reads in a data frame for a model file

View source: R/get_data.R

get_dataR Documentation

Reads in a data frame for a model file

Description

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.


jbryer/mldash documentation built on March 4, 2023, 9:35 p.m.