Skip to content
Prev 361837 / 398506 Next

merging df with world map

And you can check what David and Jeff suggested like this:

intersect( df$COUNTRY, world_map$region )

If they have any values in common, that command will show them. (Note that
I said values in common, not countries in common.)

WARNING:
It appears that you have each country appearing more than once in both of
the data frames. Even if the country names were spelled the same (which
they are not in the first few rows), I would not care to predict the
outcome of a many-to-many merge. It probably won't make sense for showing
the data on a map.

-Don