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.
A data frame with 5,305 observations on 13 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.
adm code for countries and provinces.
a factor; name of the country or province.
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.
The area of the country or province.
The uncertainty of the country centroid.
The data source. Currently only available for http://geo-locate.org
# NOT RUN {
data(countryref)
head(countryref)
# }
Run the code above in your browser using DataLab