powered by
Function to keep the column name, coded values and non response code into a dataframe
get_colnames_codedvalues(variable, name, code, nrcode = NA)
data frame with all the above information
name of the variable in the column
column name
coded values
code for non response
get_colnames_codedvalues("arm", "pat_trial_arm", c("Y", "N"))
Run the code above in your browser using DataLab