Skip to contents

Takes character input and returns TRUE/FALSE if "Hispanic or Latino" or other

Usage

is_hispanic_or_latino(x)

Arguments

x

input character representing ethnicity

Value

boolean representing Ethnic == "Hispanic or Latino"

Examples

is_hispanic_or_latino("HISPANIC OR LATINO")
#> [1] TRUE

is_hispanic_or_latino("NOT HISPANIC OR LATINO")
#> [1] FALSE

is_hispanic_or_latino("UNKNOWN")
#> [1] FALSE