Skip to contents

This function takes a data frame and adds the specified Gavi groups to it.

Usage

add_gavi_group(data, ...)

Arguments

data

A data frame. Required to have a column labeled iso3 with iso3 country codes.

...

A group or groups which is in groupings file.

Value

A data frame with the added groups

Examples


wuenic %>%
add_gavi_group(country, who_region)
#> Uh oh! You're missing the groupings file! Add it using get_groupings() 
#> NULL