get_data_variable_name {cchsflow}R Documentation

Get Data Variable Name

Description

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

Usage

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


[Package cchsflow version 2.1.0 Index]