makeCodebook {dataMaid} | R Documentation |
Produce a data codebook
Description
Make a data codebook that summarizes the contents of a dataset. The result is saved to an R markdown file which can be rendered into an easy-to-read codebook in pdf, html or word formats.
Usage
makeCodebook(data, vol = "", reportTitle = NULL, file = NULL, ...)
Arguments
data |
The dataset to be checked. This dataset should be of class |
vol |
Extra text string or numeric that is appended on the end of the output
file name(s). For example, if the dataset is called "myData", no file argument is
supplied and |
reportTitle |
A text string. If supplied, this will be the printed title of the report. If left unspecified, the title with the name of the supplied dataset. |
file |
The filename of the outputted rmarkdown (.Rmd) file.
If set to |
... |
Additional parameters passed to |
References
Petersen AH, Ekstrøm CT (2019). “dataMaid: Your Assistant for Documenting Supervised Data Quality Screening in R.” _Journal of Statistical Software_, *90*(6), 1-38. doi: 10.18637/jss.v090.i06 ( doi: 10.18637/jss.v090.i06).