7.3 Raw data files

  • Use case: a key part of the package’s functionality is to act on an external file. E.g. packages that read in files of different types, like readr or readxl.

  • Use case: a data package wants to provide .csv versions of the data, instead of just R objects. E.g. in palmerpenguins, the objects penguins and penguins_raw are also represented as extdata/penguins.csv and extdata/penguins_raw.csv.