setup_dictionary {washr} | R Documentation |
Create a dictionary file for tidy data sets
Description
setup_dictionary()
generates a dictionary CSV file in the
data/
directory. The dictionary file
contains information on the tidy data sets such as directory, file names, variable names,
variable types, and descriptions. If tidy data exists, the dictionary is populated with
relevant information; otherwise, it creates an empty dictionary CSV file.
Usage
setup_dictionary()
Value
NULL. Error if raw data is not found or not in a package directory.
Examples
## Not run:
setup_rawdata()
# Go to data_processing.R, clean the raw data and export tidy data
setup_dictionary()
## End(Not run)
[Package washr version 1.0.1 Index]