What about dividing the number of downloads by the population of each country ?
Leaving the current map on Statistics | Flathub is completely fine. It will be fun to compare this new statistic between country.
This statics is an approximation of the number of downloads by people, which is fun to think about.
Indeed, for a smaller country, it is not really fair to compare the raw number of downloads.
If you can find a set of data of country populations, that has every country and is updated regularly and is machine readable. Please let me know. Also needs to be free.
this data is updated regularly with an automated commit twice a year (this is an automated process that has been for 1 year for now). I think this is a stable thing.
It is based on the World Bank dataset that seems to be a realiable source
this only have the data up to 2023 (which is normal)
it is a csv file so easily scriptable
there is a way to get it through a python script but I don’t know how the flathub website is written in
it comes from the World Bank data … it is free of charge don’t know about licensing
in the csv file present on the repo they are 263 countries which seems to be all the countries. I didn’t check but this seems exhaustif
When I have time I will do the translation (a csv with only the translation) or find a source that does it. Will it be fine to have such a translation file ?
I will try to make a PR about that in the near future.
Do you prefer me to speak about that on the issue you mentioned ?
Here is a website with the translation between iso2 and iso3 (not machine readable) but it could made into a csv, especially this translation does not have to change regularly and can be done once.
in general, there should be a library to map the locales. But ideally, we also have a library with the population data, but I’m not sure that exists in a nice manner.