The package relies on column name 'region' during processing but this often isn't the most sensible name for the column (e.g. state makes more sense for USA). This simply renames the column as the final step in processing before returning data to the user.
rename_region_column(data, country)
a data frame with a region_level_1 column and optionally a region_level_2 column
a string with the country of interest
a tibble with the column renamed to a sensible name