-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
The initial problem was identified by @lsinger, when he noticed that counts are way lower than they should. @everbeek examined the main file and found that the cause is the use of countries as continents (for example CA is Canada in the file, but is being read as Central America in the website).
@dmgerman has provided the following towards a fix (and attached a CSV file)
This is the library I used to decode the ISO digraphs:
library(countrycode)
countrycode("MX","iso2c","continent")
countrycode("MX","iso2c","region")
But I played a bit with them to make them match my view of the world
(specially the Latin America part).
The continent is actually what I could call a subcontinent :) I guess
matter of interpretation :)
talking about interpretation, I did my own rezoning of the world for the
paper:
region and continent are the ones from the library. continent2 is the
one in the paper.
id country region continent continent2
Length:1449 US :547 Northern America:637 Africa : 8 Canada and USA:637
Class :character CN :142 Eastern Asia :177 Americas:745 Latin America :108
Mode :character CA : 90 Western Europe :116 Asia :334 Africa : 8
IN : 65 Eastern Europe : 89 Europe :311 Europe :311
BR : 47 Southern Asia : 83 Oceania : 51 Asia :334
AU : 43 South America : 80 Oceania : 51
(Other):515 (Other) :267
The code is in graphsAll.org
I have created a csv file with the ids of the tuples and their
corresponding locations: country, region, continent, continent2
Reactions are currently unavailable