Retrieves the name of the column inside data to use for calculations

get_data_variable_name(
  data_name,
  data,
  row_being_checked,
  variable_being_checked
)

Arguments

data_name

name of the database being checked

data

database being checked

row_being_checked

the row from variable details that contains information on this variable

variable_being_checked

the name of the recoded variable

Value

the data equivalent of variable_being_checked