data-raw/generate_whisky_datasets.R

## code to prepare `whiskycollection` dataset goes here
whisky_collection <- readxl::read_excel("data-raw/whiskycollection.xlsx") %>%
  as.data.frame()

usethis::use_data(whisky_collection, overwrite = TRUE)

whisky_collection_corrupted <- readxl::read_excel("data-raw/whisky_collection_corrupted.xlsx") %>%
  as.data.frame()

usethis::use_data(whisky_collection_corrupted, overwrite = TRUE)
dominikjung42/dstools documentation built on June 16, 2024, 2:40 a.m.