CountryCentroids | R Documentation |
Gives the latitude and longitude for many countries. A single point — the centroid of the country's boundaries — is given. Countries are identified by English name and by the ISO A3 code.
data("CountryCentroids")
A data frame with 241 observations on the following 4 variables:
country name in English, e.g., Afghanistan, Zimbabwe
The ISO A3 code for the country, e.g. AFG, ZWE
Longitude in degrees
Latitude in degrees
The centroids were derived from country boundary map data as the medians of the boundary points latitude and longitude.
data(CountryCentroids) plot(lat ~ long, data=CountryCentroids)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.