Insert the full label in data frame based on dictionnary - used when data is exported through briefcase because of repeated element in the dataset. In the this case, merge is done on name instead of fullname.
kobo_encode_repeat(data, dico)
data | Dataframe to re-label |
---|---|
dico | Data dictionnary generated from kobo_dico |
A "data.table" with the full data.label. To be used for graphs generation.
Edouard Legoupil
if (FALSE) { kobo_encode_repeat(data, dico) }