mledoze / countries

World countries in JSON, CSV, XML and Yaml. Any help is welcome!
https://mledoze.github.io/countries/
Open Data Commons Open Database License v1.0
5.97k stars 1.27k forks source link

Fix the number of columns in CSV export #497

Closed mledoze closed 12 months ago

mledoze commented 1 year ago

The headers line generated in the CSV export is built from Aruba which the first country of the list. This generates a number of columns that is not coherent with other countries in particular because of the name.native field which contains different languages for each country.

We should either remove the name.native field from the CSV export or find a way to produce a consistent number of columns for each country.