Function to convert region names to region codes. The names must exactly match an entry of the name column in one of the conversion tables in order to find a matching code.
Usage
region_codes(x, prefer = c("nuts", "iso"))Function to convert region names to region codes. The names must exactly match an entry of the name column in one of the conversion tables in order to find a matching code.
region_codes(x, prefer = c("nuts", "iso"))