match_region_to_target: Map data region to ggplot2 region
Description
This function maps the provided data region to ggplot2 region.
Usage
match_region_to_target(region_column, region_list, max_dist = 3)
Arguments
- region_column
a character vector of data region
- region_list
a character vector of ggplot2 region
- max_dist
maximum distance for string matching