Skip to contents

This function loads in the country groupings file into your current environment

Usage

get_groupings(version_date)

Arguments

version_date

a string in the format of "yyyy-mm", corresponding to the version of the country groupings file you wish to load.

Value

a data frame of country groupings

Examples

get_groupings("2022-07")
#> Error in charToDate(x): character string is not in a standard unambiguous format

# can also save as object to re-use
groupings <- get_groupings("2022-07")
#> Error in charToDate(x): character string is not in a standard unambiguous format