The data frame code Map DF contains a mapping of the ISO 3166 codes to the codes used in the CIA Fact book. It also contains country name. Below are the first few observations in this data frame:
Use this data frame to fix the problem with the merging of the location data, which uses ISO codes, with the demographic data, which uses the CIA Fact book coding. Be sure the final data frame contains both codes and the country name from code Map DF, as well as the original variables.