Countries change names from time to time. For example, Swaziland changed its name to Eswatini in 2018, but kept their country code (SWZ). "Swaziland" doesn't appear in countries or former_countries, so it's not possible to look up the country code based on old data without a separate look-up table.
It would be nice to have a mechanism for looking up countries by their former names.
Countries change names from time to time. For example, Swaziland changed its name to Eswatini in 2018, but kept their country code (SWZ). "Swaziland" doesn't appear in
countriesorformer_countries, so it's not possible to look up the country code based on old data without a separate look-up table.It would be nice to have a mechanism for looking up countries by their former names.