WHO data fails due to 'other' entry
chrisvoncsefalvay opened this issue · comments
Chris von Csefalvay commented
Describe the bug
---------------------------------------------------------------------------
3487
LookupError Traceback (most recent call last)
3488
<ipython-input-10-c72dcbe1d77c> in <module>
3489
43 for country in countries:
3490
44 if not "conveyance" in country and not "vessel" in country:
3491
---> 45 country_dict[country] = pycountry.countries.search_fuzzy( country )[0]
3492
46 else:
3493
47 country_dict[country] = None
3494
3495
/opt/hostedtoolcache/Python/3.7.8/x64/lib/python3.7/site-packages/pycountry/__init__.py in search_fuzzy(self, query)
3496
91
3497
92 if not results:
3498
---> 93 raise LookupError(query)
3499
94
3500
95 results = [
3501
3502
LookupError: other†