Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

countryref

Country Centroids and Country Capitals


Description

A data.frame with coordinates of country and province centroids and country capitals as reference for the clean_coordinates, cc_cen and cc_cap functions. Coordinates are based on the Central Intelligence Agency World Factbook https://www.cia.gov/library/publications/the-world-factbook/, http://thematicmapping.org/downloads/world_borders.php and geolocate http://geo-locate.org.

Format

A data frame with 5,305 observations on 13 variables. #'

iso3

ISO-3 code for each country, in case of provinces also referring to the country.

iso2

ISO-2 code for each country, in case of provinces also referring to the country.

adm1_code

adm code for countries and provinces.

name

a factor; name of the country or province.

type

identifying if the entry refers to a country or province level.

centroid.lon

Longitude of the country centroid.

centroid.lat

Latitude of the country centroid.

capital

Name of the country capital, empty for provinces.

capital.lon

Longitude of the country capital.

capital.lat

Latitude of the country capital.

area_sqkm

The area of the country or province.

uncertaintyRadiusMeters

The uncertainty of the country centroid.

source

The data source. Currently only available for http://geo-locate.org

Source

CENTRAL INTELLIGENCE AGENCY (2014) The World Factbook, Washington, DC.

Examples

data(countryref)
head(countryref)

CoordinateCleaner

Automated Cleaning of Occurrence Records from Biological Collections

v2.0-18
GPL-3
Authors
Alexander Zizka [aut, cre], Daniele Silvestro [ctb], Tobias Andermann [ctb], Josue Azevedo [ctb], Camila Duarte Ritter [ctb], Daniel Edler [ctb], Harith Farooq [ctb], Andrei Herdean [ctb], Maria Ariza [ctb], Ruud Scharn [ctb], Sten Svanteson [ctb], Niklas Wengstrom [ctb], Vera Zizka [ctb], Alexandre Antonelli [ctb], Irene Steves [rev] (Irene reviewed the package for ropensci, see <https://github.com/ropensci/onboarding/issues/210>), Francisco Rodriguez-Sanchez [rev] (Francisco reviewed the package for ropensci, see <https://github.com/ropensci/onboarding/issues/210>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.