covidatlas / li

Next-generation serverless crawler for COVID-19 data
Apache License 2.0
57 stars 33 forks source link

Please add Continents info #429

Closed jzohrab closed 4 years ago

jzohrab commented 4 years ago

Original issue https://github.com/covidatlas/coronadatascraper/issues/864, transferred here on Tuesday Apr 21, 2020 at 07:38 GMT


You can use this JSON to add info about continents:

{
  "iso1:AT": "europe",
  "iso1:AU": "oceania",
  "iso1:BE": "europe",
  "iso1:BR": "southAmerica",
  "iso1:CA": "northAmerica",
  "iso1:CH": "europe",
  "iso1:CY": "europe",
  "iso1:CZ": "europe",
  "iso1:DE": "europe",
  "iso1:EE": "europe",
  "iso1:ES": "europe",
  "iso1:GF": "southAmerica",
  "iso1:RE": "africa",
  "iso1:FX": "europe",
  "iso1:GB": "europe",
  "iso1:IE": "europe",
  "iso1:IN": "asia",
  "iso1:IT": "europe",
  "iso1:JP": "asia",
  "iso1:KR": "asia",
  "iso1:LT": "europe",
  "iso1:LV": "europe",
  "iso1:NL": "europe",
  "iso1:PA": "northAmerica",
  "iso1:PL": "europe",
  "iso1:PR": "northAmerica",
  "iso1:RU": "europe",
  "iso1:SA": "asia",
  "iso1:SE": "europe",
  "iso1:SI": "europe",
  "iso1:TH": "asia",
  "iso1:UA": "europe",
  "iso1:US": "northAmerica",
  "iso1:ZA": "africa",
  "iso1:AF": "asia",
  "iso1:AL": "europe",
  "iso1:DZ": "africa",
  "iso1:AD": "europe",
  "iso1:AO": "africa",
  "iso1:AR": "southAmerica",
  "iso1:AM": "europe",
  "iso1:AZ": "europe",
  "iso1:BD": "asia",
  "iso1:BY": "europe",
  "iso1:BJ": "africa",
  "iso1:BT": "asia",
  "iso1:BO": "southAmerica",
  "iso1:BA": "europe",
  "iso1:BN": "asia",
  "iso1:BG": "europe",
  "iso1:BF": "africa",
  "iso1:KH": "asia",
  "iso1:CM": "africa",
  "iso1:CF": "africa",
  "iso1:TD": "africa",
  "iso1:CN": "asia",
  "iso1:HK": "asia",
  "iso1:CO": "southAmerica",
  "iso1:CG": "africa",
  "iso1:CD": "africa",
  "iso1:CI": "africa",
  "iso1:HR": "europe",
  "iso1:GL": "northAmerica",
  "iso1:DJ": "africa",
  "iso1:DO": "northAmerica",
  "iso1:EG": "africa",
  "iso1:SV": "northAmerica",
  "iso1:ER": "africa",
  "iso1:SZ": "africa",
  "iso1:ET": "africa",
  "iso1:FI": "europe",
  "iso1:GA": "africa",
  "iso1:GM": "africa",
  "iso1:GE": "europe",
  "iso1:GH": "africa",
  "iso1:GT": "northAmerica",
  "iso1:GN": "africa",
  "iso1:GY": "southAmerica",
  "iso1:VA": "europe",
  "iso1:HN": "northAmerica",
  "iso1:HU": "europe",
  "iso1:IS": "europe",
  "iso1:IR": "asia",
  "iso1:IQ": "asia",
  "iso1:IL": "asia",
  "iso1:JO": "asia",
  "iso1:KZ": "asia",
  "iso1:KE": "africa",
  "iso1:KW": "asia",
  "iso1:KG": "asia",
  "iso1:LB": "asia",
  "iso1:LR": "africa",
  "iso1:LI": "europe",
  "iso1:LU": "europe",
  "iso1:MG": "africa",
  "iso1:MR": "africa",
  "iso1:MX": "northAmerica",
  "iso1:MD": "europe",
  "iso1:MC": "europe",
  "iso1:MN": "asia",
  "iso1:ME": "europe",
  "iso1:MA": "africa",
  "iso1:NA": "africa",
  "iso1:NP": "asia",
  "iso1:NI": "northAmerica",
  "iso1:NE": "africa",
  "iso1:NG": "africa",
  "iso1:MK": "europe",
  "iso1:NO": "africa",
  "iso1:OM": "asia",
  "iso1:PK": "asia",
  "iso1:PG": "oceania",
  "iso1:PY": "southAmerica",
  "iso1:PE": "southAmerica",
  "iso1:RO": "europe",
  "iso1:RW": "africa",
  "iso1:SM": "europe",
  "iso1:SN": "africa",
  "iso1:RS": "europe",
  "iso1:SK": "europe",
  "iso1:SO": "africa",
  "iso1:LK": "asia",
  "iso1:SD": "africa",
  "iso1:SR": "southAmerica",
  "iso1:TZ": "africa",
  "iso1:TG": "africa",
  "iso1:TN": "africa",
  "iso1:TR": "europe",
  "iso1:UG": "africa",
  "iso1:UY": "southAmerica",
  "iso1:UZ": "asia",
  "iso1:VE": "southAmerica",
  "iso1:VN": "asia",
  "iso1:ZM": "africa",
  "iso1:ZW": "africa",
  "iso1:MZ": "africa",
  "iso1:SY": "asia",
  "iso1:TL": "asia",
  "iso1:BZ": "northAmerica",
  "iso1:LA": "asia",
  "iso1:LY": "africa",
  "iso1:PS": "asia",
  "iso1:GW": "africa",
  "iso1:ML": "africa",
  "iso1:XK": "europe",
  "iso1:MM": "asia",
  "iso1:BW": "africa",
  "iso1:BI": "africa",
  "iso1:SL": "africa",
  "iso1:MW": "africa",
  "iso1:SS": "africa",
  "iso1:EH": "africa",
  "iso1:YE": "asia"
}
jzohrab commented 4 years ago

(Transferred comment)

Hmm, @hyperknot is this something we want to do? Do continents have ISO codes?

jzohrab commented 4 years ago

(Transferred comment)

@lazd I am not sure if continents have a ISO codes, but doing a quick search on the Web I found:

Well, i am using them for my project. The dictionary from country iso1 to continent in my specific case is very important. At the end there are no more problems for me, but I though it could be useful for other people.