return CoaWhereError: The region Portugal does not exist for country PRT. See get_region_list().
but
f=cg.GeoCountry('PRT')
f.get_regions_from_macroregion(name='Portugal continental',output='name')
works
This problem will crash covid19.py
To bypass this I suggest you (for get_regions_from_macroregion)
that country with continental = country without continental
surely we can ask the user to be more precise to avoid this but I will prefer get_regions_from_macroregion to be more flexible
Does it sound good to you ?
Here the problem:
return CoaWhereError: The region Portugal does not exist for country PRT. See get_region_list(). but
This problem will crash covid19.py To bypass this I suggest you (for get_regions_from_macroregion) that country with continental = country without continental
f.get_regions_from_macroregion(name='Portugal continental',output='name') = f.get_regions_from_macroregion(name='Portugal',output='name')
surely we can ask the user to be more precise to avoid this but I will prefer get_regions_from_macroregion to be more flexible Does it sound good to you ?