Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Name Popularity Index #28

Open
gajus opened this issue Feb 17, 2015 · 2 comments
Open

Name Popularity Index #28

gajus opened this issue Feb 17, 2015 · 2 comments

Comments

@gajus
Copy link

gajus commented Feb 17, 2015

Assuming that multiple versions of country names become available, it would be nice to include a popularity index, e.g. http://www.google.com/trends/explore#q=%22Lithuania%22%2C%20%22Republic%20of%20Lithuania%22&cmpt=q&tz=.

Knowing which name is more popular, together with language property, would be useful when determining which name to choose to display in which language. This index could be updated once a week or so using an automated script.

I am happy to contribute a library that would abstract querying of the data (assuming such does not exist already).

@evdb
Copy link
Member

evdb commented Feb 17, 2015

I'm starting to think that this is probably something that is outside the scope of the country-data module but that is obviously closely linked to it and would be very useful.

Having a module that could could take a country code like SV and then return Sweden as the popular name in English, or "Sverige" in Swedish would be great.

It would then also be able to do the reverse - for example map "Vietnam" to VN, despite the official name being "Viet Nam" (which I'm guessing is very rarely used).

If you were to create such a module I'd be very happy to point to it from the docs of country-data :)

@gajus
Copy link
Author

gajus commented Feb 17, 2015

I will look into how hard would it be to collect the data.

On Feb 17, 2015, at 12:49, Edmund von der Burg [email protected] wrote:

I'm starting to think that this is probably something that is outside the scope of the country-data module but that is obviously closely linked to it and would be very useful.

Having a module that could could take a country code like SV and then return Sweden as the popular name in English, or "Sverige" in Swedish would be great.

It would then also be able to do the reverse - for example map "Vietnam" to VN, despite the official name being "Viet Nam" (which I'm guessing is very rarely used).

If you were to create such a module I'd be very happy to point to it from the docs of country-data :)


Reply to this email directly or view it on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants