HIVE user counts by countries based on profile location data

in Hive Statistics4 years ago

I prepared this analysis result a couple weeks ago but haven't published since we have been quite busy recently working on ecency. It's better to publish before i forget this small project ever existed :)

Analysis result is based on "location" field in account data.

Although not all users fill that field or some of them enter non-location text, the result provides a general overview.

Input

Data source comes from hivemind's db with query below:

SELECT location from hive_accounts where location != '';

Result dataset size was 249465 while i was working on the project.

Code

Project source code is here. It uses geopy and OpenStreetMap's Nominatim API for location detection from raw text.

You can see lots of caching mechanisms in code. Since it is a long running script, i didn't want to start over to data collection from zero every time it crashes or stalls.

It took almost 32 hours to complete it at background and extracted 234117 country out of raw dataset.

Result 🎉

CountryCountPercent
🇺🇸 United States4305118.39%
🇻🇪 Venezuela, Bolivarian Republic of203808.71%
🇮🇩 Indonesia182217.78%
🇮🇳 India120475.15%
🇳🇬 Nigeria94794.05%
🇩🇪 Germany90513.87%
🇬🇧 United Kingdom88163.77%
🇰🇷 Korea, Republic of74433.18%
🇨🇦 Canada73723.15%
🇧🇩 Bangladesh69062.95%
🇵🇭 Philippines64962.77%
🇦🇺 Australia45841.96%
🇵🇰 Pakistan44541.90%
🇹🇷 Turkey34551.48%
🇫🇷 France34151.46%
🇵🇱 Poland33131.42%
🇨🇳 China29591.26%
🇪🇸 Spain27491.17%
🇳🇱 Netherlands26021.11%
🇮🇹 Italy24591.05%
🇧🇷 Brazil22530.96%
🇷🇺 Russian Federation22490.96%
🇲🇾 Malaysia21560.92%
🇿🇦 South Africa21550.92%
🇲🇽 Mexico20050.86%
🇳🇿 New Zealand19900.85%
🇨🇴 Colombia18720.80%
🇩🇴 Dominican Republic17650.75%
🇷🇴 Romania16390.70%
🇻🇳 Viet Nam14250.61%
🇯🇵 Japan14020.60%
🇦🇷 Argentina13140.56%
🇦🇹 Austria12550.54%
🇹🇭 Thailand11450.49%
🇺🇦 Ukraine11350.48%
🇨🇭 Switzerland11100.47%
🇬🇷 Greece10730.46%
🇧🇪 Belgium9310.40%
🇵🇹 Portugal9190.39%
🇸🇪 Sweden9120.39%

Of course US in the top of the list. Surprisingly Venezuela is second. Also Turkey surprised me. It is quite top of the list. I didn't know that amount of users from my country around here.

Hive on!

Sort:  

Lol, where are all those Indians?

Why can't I see them.

Nice one.
We still have some Koreans around :)

I am surprised that many accounts had a location and many will not have a real value there. I would expect Korea to be higher as they seem to have a lot of active users for Steem. Most of these will have joined before Hive started anyway.

These are web stats for hive for contrast.

image.png

and Steemit

image.png

Interesting - does the code recognise that 'Manchester' and 'Swansea' are both from Britain?

It's interesting how many people misfilled that section in!

It does take a long time to scour the entire chain I guess!

Yes, it recognizes that 'Manchester' and 'Swansea' are both from UK. You can check on OpenStreetMap manually. The code uses Nominatim API. So same data as on openstreetmap.org.

OK cheers, I don't know too much about Python and what it connects too, thanks for clarification!

Wohoooo south africa lol almost at 1%

Thanks for very interesting statistics

Sad that Estonia didn't make the list

I'm surprised UK has that many people!! As to Turkey, a while ago I spoke to someone from Turkey and he reckons there's only about 20 to 30 users in the country.

The number of people writing in Turkish is few. Since Turkish articles have very low upvote value, everyone writes non-Turkish articles.

That makes sense

I am sure STEEM users are from Korea and China mainly now.
Good stats!
@tipu curate

Yeah, thats for sure. Thanks!

I'm actually surprised to see the United States as number 1. I live in the states, but have noticed that interactions on Hive and the discord see more conversations during the night instead of the day.

Interesting stats. Wonder how participation will delope over time?

No idea. We'll see...

Eh, so unpopular in Russia!

Congratulations @talhasch! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s) :

You received more than 200 upvotes. Your next target is to reach 300 upvotes.

You can view your badges on your board And compare to others on the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

To support your work, I also upvoted your post!

Do not miss the last post from @hivebuzz:

Introducing the HiveBuzz API for applications and websites
Support the HiveBuzz project. Vote for our proposal!

1990 Kiwis?

Have to admit I couldn't name 10 active ones...

With the help of the location, you can really collect a lot of information. Sometimes such accessibility and opportunities even scare. GPS phone tracker showed all available features in this question. I realized that even with minimal information, you can do an advanced search and find out a lot of details about a person of interest.

Surprisingly Venezuela is second.

I am not surprised by that at all. Neither by Indonesia and Nigeria.