Description Usage Arguments Author(s) See Also Examples
read_codebook
reads a code book stored as a csv
file
for either checking against a data file or relabelling factor
levels or labelling variables. read_codebook
returns an S3
object of class codebook
1 2 |
x |
object of class |
extra |
logical: whether to print extra information. Default: FALSE |
... |
extra arguments passed to specific printing functions |
Peter Baker pete@petebaker.id.au
1 2 3 4 5 6 7 | file.copy(system.file('demoFiles', 'data1_codebook.csv',
package='codebookr'), 'data1_codebook.csv')
data1_codebook <- read_codebook("data1_codebook.csv",
column_names = list(variable_levels = "Factor.Levels",
variable_original = "Old.Variable",
min = "Min", max = "Max"))
print(data1_codebook)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.