powered by
Add level 2 variables from a level 2 dataset to an scdf file
add_l2(data, data_l2, cvar = "case")
An scdf
A single-case data frame. See scdf to learn about this format.
scdf
A level 2 dataset.
Character string with the name of the "case" variable in the L2 dataset (default is 'case').
Leidig2018 %>% add_l2(Leidig2018_l2)
Run the code above in your browser using DataLab