CountryCentroids: Geographic locations of countries

CountryCentroidsR Documentation

Geographic locations of countries

Description

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.

Usage

data("CountryCentroids")

Format

A data frame with 241 observations on the following 4 variables:

name

country name in English, e.g., Afghanistan, Zimbabwe

iso_a3

The ISO A3 code for the country, e.g. AFG, ZWE

long

Longitude in degrees

lat

Latitude in degrees

Source

The centroids were derived from country boundary map data as the medians of the boundary points latitude and longitude.

Examples

data(CountryCentroids)
plot(lat ~ long, data=CountryCentroids)

mdbeckman/dcData documentation built on March 18, 2023, 6:07 a.m.