Skip to contents

Get appropriate RAM-OP indicator variable names given a specified indicator set

Usage

get_variables(
  indicators = c("demo", "food", "hunger", "adl", "disability", "mental", "dementia",
    "health", "income", "wash", "anthro", "oedema", "screening", "visual", "misc")
)

Arguments

indicators

A character vector of indicator set names. Indicator set names are "demo", "food", "hunger", "disability", "adl", "mental", "dementia", "health", "income", "wash", "anthro", "screening", "visual", and "misc". Default is all indicator sets.

Value

A vector of variable names

Examples

oldr:::get_variables()
#>   [1] "resp1"             "resp2"             "resp3"            
#>   [4] "resp4"             "age"               "ageGrp1"          
#>   [7] "ageGrp2"           "ageGrp3"           "ageGrp4"          
#>  [10] "ageGrp5"           "sex1"              "sex2"             
#>  [13] "marital1"          "marital2"          "marital3"         
#>  [16] "marital4"          "marital5"          "marital6"         
#>  [19] "alone"             "MF"                "DDS"              
#>  [22] "FG01"              "FG02"              "FG03"             
#>  [25] "FG04"              "FG05"              "FG06"             
#>  [28] "FG07"              "FG08"              "FG09"             
#>  [31] "FG10"              "FG11"              "proteinRich"      
#>  [34] "pProtein"          "aProtein"          "pVitA"            
#>  [37] "aVitA"             "xVitA"             "ironRich"         
#>  [40] "caRich"            "znRich"            "vitB1"            
#>  [43] "vitB2"             "vitB3"             "vitB6"            
#>  [46] "vitB12"            "vitBcomplex"       "HHS1"             
#>  [49] "HHS2"              "HHS3"              "ADL01"            
#>  [52] "ADL02"             "ADL03"             "ADL04"            
#>  [55] "ADL05"             "ADL06"             "scoreADL"         
#>  [58] "classADL1"         "classADL2"         "classADL3"        
#>  [61] "hasHelp"           "unmetNeed"         "wgVisionD0"       
#>  [64] "wgVisionD1"        "wgVisionD2"        "wgVisionD3"       
#>  [67] "wgHearingD0"       "wgHearingD1"       "wgHearingD2"      
#>  [70] "wgHearingD3"       "wgMobilityD0"      "wgMobilityD1"     
#>  [73] "wgMobilityD2"      "wgMobilityD3"      "wgRememberingD0"  
#>  [76] "wgRememberingD1"   "wgRememberingD2"   "wgRememberingD3"  
#>  [79] "wgSelfCareD0"      "wgSelfCareD1"      "wgSelfCareD2"     
#>  [82] "wgSelfCareD3"      "wgCommunicatingD0" "wgCommunicatingD1"
#>  [85] "wgCommunicatingD2" "wgCommunicatingD3" "wgP0"             
#>  [88] "wgP1"              "wgP2"              "wgP3"             
#>  [91] "wgPM"              "K6"                "K6Case"           
#>  [94] "DS"                "H1"                "H2"               
#>  [97] "H31"               "H32"               "H33"              
#> [100] "H34"               "H35"               "H36"              
#> [103] "H37"               "H38"               "H39"              
#> [106] "H4"                "H5"                "H61"              
#> [109] "H62"               "H63"               "H64"              
#> [112] "H65"               "H66"               "H67"              
#> [115] "H68"               "H69"               "M1"               
#> [118] "M2A"               "M2B"               "M2C"              
#> [121] "M2D"               "M2E"               "M2F"              
#> [124] "M2G"               "M2H"               "M2I"              
#> [127] "W1"                "W2"                "W3"               
#> [130] "W4"                "MUAC"              "oedema"           
#> [133] "screened"          "poorVA"            "chew"             
#> [136] "food"              "NFRI"