Skip to contents

helper function - given indicator names, look up what category each is

Usage

varname2varcategory_ejam(varname, varnameinfo)

Arguments

varname

vector of 1 or more names like "pctlowinc" as in unique(map_headernames$rname)

varnameinfo

data.frame with info on type of each variable

Value

vector same size as varname

Details

tells if variable is "Demographic" "Environmental" "Summary Index" aka "EJ Index" or "other" as from dput(unique(map_headernames$varcategory))