Closed MaybeThisIsRu closed 1 month ago
@MaybeThisIsRu Thanks for reporting. 🎉
This column is messed up actually, Previously I took data from this resource https://restcountries.com/v2/all
They've updated the calling codes to be more accurate now. So I will soon update them as per the new version. https://restcountries.com/v3.1/all
Fixed in #835 835
For example, for the US, the phone code is
1
which is correct if we consider country codes.For the Dominican Republic, the phone code in the
countries-states-cities-database
is listed as1809 and 1829
which is correct if we consider country+area codes. Country code being1
and area codes being809
and829
(and also849
, but that's besides the point right now).What methodology is being used? Can we rename
phone_code
to correctly reflect if the field meanscountry_code
orcountry_area_code
?