Revealing Total Steemians from Indonesia (Mengungkap Jumlah Steemian dari Indonesia)

in #steemit6 years ago (edited)

First I would like to thanks @arcange as a SteemSQL creator and also as a witness in Steemit. SteemSQL is a database that bridges data access into the Steem Blockchain. With SteemSQL makes it easier to do data analysis and information discovery. For me, that contribution is starting point I can explore about what's in Steem Blockchain. To access SteemSQL we can use the desktop application name HeidiSql.

Pertama saya mengucapkan terimakasih kepada @arcange sebagai pembuat SteemSQL dan juga sebagai witness di Steemit. SteemSQL adalah database yang menjembatani akses data ke dalam Steem Blockchain. Dengan SteemSQL mempermudah dalam melakukan analisis data dan penemuan informasi. Bagi saya, kontribusi tersebut adalah titik awal saya bisa mengeksplorasi tentang apa yang ada di Steem Blockchain. Untuk mengakses SteemSQL bisa menggunakan aplikasi desktop namanya HeidiSql.

Discover_Steemit.png

Picture created by me

Maybe we are curious how many accounts Steemit coming from Indonesia. On this occasion I show the search results from Steem Blockchain through SteemSQL access. Blockchain is like an ocean of data, a lot of data stored either visible on the surface or at a deeper level. The main problem when searching is that I realize that in the profile setting in Steemit, there is no special option available (dropdown) about country. The given field is only in text form with the label 'location'. That way there may be accounts that not fill out location info, or are filled with city names only, may also be irrelevant.

Mungkin kita penasaran ada berapa akun Steemit yang berasal dari Indonesia. Pada kesempatan ini saya memperlihatkan hasil penelusuran ke Steem Blockchain melalui akses SteemSQL. Blockchain itu seperti lautan data, banyak data yang tersimpan baik yang terlihat di permukaan maupun berada di level lebih dalam. Masalah utama ketika melakukan pencarian adalah saya menyadari bahwa pada pengaturan profile di Steemit, tidak disediakan secara khusus pilihan (dropdown) negara. Field yang diberikan hanya dalam bentuk isian teks dengan label 'location'. Dengan begitu ada kemungkinan terdapat akun yang tidak mengisi info lokasi,atau diisi dengan nama kota saja, mungkin juga informasinya tidak relevan.

With the existence of such problems, accounts originating from Indonesia is not all revealed. The solution approach I did was a profile account search result containing the word 'Indonesia' combined with the post containing the tag 'Introduceyourself' also 'Indonesia'. Because in accordance with the provisions in Steemit, a new account shall introduce themselves by posting contains that tag.

Dengan adanya masalah tersebut, akun yang berasal dari Indonesia tidak semua terungkap. Pendekatan solusi yang saya lakukan adalah hasil pencarian akun profil mengandung kata 'Indonesia' dikombinasikan dengan post berisi tag 'Introduceyourself' juga 'Indonesia'. Karena sesuai dengan ketentuan di Steemit, akun baru wajib memperkenalkan diri dengan membuat post berisi tag tersebut.

Please note that the data contained in Blockchain is open. We can only view but can't change that. Through the following snippet revealed the number of Steemit accounts originating from Indonesia.

Perlu diketahui bahwa data yang terdapat di Blockchain sifatnya terbuka. Kita hanya bisa melihat tapi tidak bisa mengubah yang ada di dalamnya. Melalui cuplikan dibawah ini terungkap jumlah akun Steemit yang berasal dari Indonesia.

Query_1141_indonesian_account.PNG

List username from Indonesia

Here is the query code for get list username from Indonesia :

SELECT DISTINCT a.username FROM (
    SELECT name as username FROM dbo.Accounts WHERE json_metadata LIKE '%indonesia%'
    UNION
    SELECT u.author FROM ( 
        SELECT author from dbo.Comments where depth=0 
            AND category = 'indonesia' 
            AND json_metadata LIKE '%introduceyourself%' group by author
        UNION
        SELECT author from dbo.Comments where depth=0 
            AND category = 'introduceyourself' 
            AND json_metadata LIKE '%indonesia%' group by author) u 
        GROUP BY author
    ) a
ORDER BY username ASC



Query_1141_count_indonesian_account.PNG

Total Steemian from Indonesia

Here is the query code for counting account from Indonesia :

SELECT COUNT(DISTINCT a.username) as total_account FROM (
    SELECT name as username FROM dbo.Accounts WHERE json_metadata LIKE '%indonesia%'
    UNION
    SELECT u.author FROM ( 
        SELECT author from dbo.Comments where depth=0 
            AND category = 'indonesia' 
            AND json_metadata LIKE '%introduceyourself%' group by author
        UNION
        SELECT author from dbo.Comments where depth=0 
            AND category = 'introduceyourself' 
            AND json_metadata LIKE '%indonesia%' group by author) u 
        GROUP BY author
    ) a



Accessed on December 13, 2017, at 11:40 am (GMT+7, Jakarta). There are 3,456 (three thousand four hundred fifty-six) accounts coming from Indonesia. In addition to counting the number, we can also know the account in it. That number is the result of my approach. If anyone has a more accurate approach and any idea please let me know through comments.

Diakses pada tanggal 13 Desember 2017, pukul 11.40 WIB. Terdapat 3.456 akun berasal dari Indonesia. Selain itu kita juga dapat tahu akun yang ada di dalamnya. Jumlah tersebut adalah hasil dari pendekatan yang saya gunakan. Jika ada yang memiliki pendekatan yang lebih akurat dan ide lain silahkan beri tahu saya melalui komentar.

Sort:  

Tingkatkan terus bro datanya, masukan dari saya perlu membuatkan data tentang berapa banyak paus, lumba2 sama minnow2. Trus sajikan lagi perbandingannyanya. Sebanding gak populasi paus/lumba2 dengan minnow?

Ide nya @isaideureka menarik ini.. noted bro. Terimakasih.

Congratulations @ekonugraha! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of comments received

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

hai kawan @ekonugraha, salam...

saya ada bikin aplikasi Steem Autovote. Bila kamu jain dan tergabung dalam aplikasi ini, maka tiap artikel kamu akan mendapatkan upvote dari member lain. Besaran upvote yang diberikan akan tergantung dengan Steem Power kamu.

yuk join ya, gabung dengan teman-teman lainnya. kita cara nafkah bersama di steem :)
untuk info lebih lanjut bisa dibaca disini: https://steemit.com/steem/@lopezdacruz/steem-autovote-live-now

terima kasih ya

Terimakasih kak @lopezdacruz info nya

Semoga semakin bertambah dan berkembang! Semangat terus @ekonugraha!

Pasti kak @mariska.lubis , jumlahnya bertambah terus

mantap Bang..👍

Makasih bang

Wah manteep..
Semoga makin banyak yang gabung ke steemit

Makasih mbak @mayorita , pasti berkembang terus

widih keren nieh, saya ga ngerti nieh apa itu semua.
mantap, ditunggu analisa selanjutnya

haha siap bang @ekavieka , nantikan analisa berikutnya. Terimakasih.

Hi, could you please include the text of those SQL queries for easy copy/paste?

Hi @demotruk, post has been edited. I added SQL queries below each screenshots. Thanks for comment.

Very good research. It would be interesting doing the same with more countries and then see the percentage by country :)

Thanks @jga for suggestion . I will write the results in the next post. Still in WIP.

Coin Marketplace

STEEM 0.28
TRX 0.12
JST 0.032
BTC 60200.47
ETH 3004.36
USDT 1.00
SBD 3.63