age_group_type(c("5-9", "0-4", "100+"))
age_group_type(c("2", "5", "1"))
age_group_type(c("0", "1-4"))
## could be any "single" or "lt"
age_group_type("0")
## could be "five" or "lt"
age_group_type("80-84")
Run the code above in your browser using DataLab