countryref.RdA 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 as
provided at http://opengeocode.org/download/cow.php and http://thematicmapping.org/downloads/world_borders.php.
A data frame with 5,142 observations on 10 variables. #'
ISO-3 code for each country, in case of provinces also referring to the country.
ISO-2 code for each country, in case of provinces also referring to the country.
a factor; name of the country or province.
adm code for countries and provinces
identifying if the entry refers to a country or province level.
Longitude of the country centroid
Latitude of the country centroid
Name of the country capital, empty for provinces
Longitude of the country capital
Latitude of the country capital
CENTRAL INTELLIGENCE AGENCY (2014) The World Factbook, Washington, DC.
http://opengeocode.org/download/cow.php http://thematicmapping.org/downloads/world_borders.php
#> iso3 iso2 adm1_code name type centroid.lon centroid.lat capital #> 1 ABW AW ABW Aruba country -69.97700 12.517 Oranjestad #> 2 ABW AW ABW Aruba country -69.96667 12.500 Oranjestad #> 3 AFG AF AFG Afghanistan country 65.21600 33.677 Kabul #> 4 AFG AF AFG Afghanistan country 65.00000 33.000 Kabul #> 5 AGO AO AGO Angola country 17.54400 -12.296 Luanda #> 6 AGO AO AGO Angola country 18.50000 -12.500 Luanda #> capital.lon capital.lat #> 1 -70.03 12.52 #> 2 -70.03 12.52 #> 3 69.18 34.52 #> 4 69.18 34.52 #> 5 13.22 -8.83 #> 6 13.22 -8.83