Skip to contents

Create a new data set metadata file.

Usage

new_dataset(
  name,
  dir = "./inst/datasets",
  type = c("classification", "regression")[1],
  description = "Description of the dataset",
  source = "The source of the dataset.",
  reference = "APA reference for the dataset.",
  data = "function() {\n\t# This function should return a data.frame.\n\t}",
  model = "Y ~ X",
  note = "",
  open = interactive(),
  overwrite = FALSE
)

Value

a list with the metadata information.