The first step of curating a TidyTuesday dataset is cleaning the data. This
function creates a simple cleaning.R file in the specified path (creating
that path if it does not already exist), and (if possible) opens it for
editing.
Usage
tt_clean(
  path = "tt_submission",
  open = rlang::is_interactive(),
  ignore = FALSE
)Arguments
- path
- The relative path to the directory to hold your submission files ( - tt_submissionby default). If this directory does not exist, it will be created.
- open
- Open the newly created file for editing? Happens in RStudio, if applicable, or via - utils::file.edit()otherwise.
- ignore
- Should the newly created file be added to - .Rbuildignore?
