View source: R/dictionary_based_cleaning.R
add_to_dictionary | R Documentation |
Add an element to the data dictionary
add_to_dictionary(dictionary, option, value, grp, order = NULL)
dictionary |
A
|
option |
A |
value |
A |
grp |
A |
order |
A |
A <data.frame>
. This is the new data dictionary with
an additional line that contains the details about the new options.
test <- add_to_dictionary(
dictionary = readRDS(
system.file("extdata", "test_dict.RDS", package = "cleanepi")
),
option = "ml",
value = "male",
grp = "gender",
order = NULL
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.