Introducing steemR by eroche

View this thread on steempeak.com
· @eroche ·
$298.28
Introducing steemR
This project aims to make R accessible to the Steem community by providing an easy interface to the data from the Steem  Blockchain. 

There is also another huge motivation for developing this package. The R community is a community of collaborating open source data scientists and analysts from all over the world. This package will provide this community with a rich, live, raw public datasource and this package will raise the awareness of Steem among this community. 

<center>
![Screenshot from 2018-05-28 13-19-13.png](https://cdn.steemitimages.com/DQmdj994hGjRXbBW7za9iANXsrS4dVk2c9XamvkNfuVN3sb/Screenshot%20from%202018-05-28%2013-19-13.png)
</center>

## What is R?
R is a statistical programming language and environment that is widely used in academia and increasingly in production environments.
R is synonymous with well documented reproducible research which makes iteration and model refinement very transparent and robust. 
You can use R for Machine Learning, for Data Manipulation but my favourite use of R is for the Powerful Graphic Capabilities that it provides.

---

# steemR 
*(a data package for the R programming language)*

#### Repository
The steemR package will be submitted to CRAN shortly but you can install it to your R environment via devtools from the development repo on github.
https://github.com/kharoof/steemR
*If you like this project please star me on github.* 

- What is the project about?
This project will provide an integration layer to retrieve data for analysis using the R programming language. 
Data Analysts will be able to perform ad hoc queries and explore the Steem Blockchain, using this package, from within the R programming environment. 

- Technology Stack
R, Appbase. This package has been tested on linux and windows with base R and R Studio. 

- Roadmap
This project will incrementally add API calls that are available via the Appbase API however it does not aim to  cover all of the available APIs calls. *Any operation that takes time or involves streaming large amounts of the Steem Blockchain will not be implemented.*

- How to contribute?
My username on discord is @eroche#1620 and I welcome pull requests, suggestions and bugs for this project on github. 

#### GitHub Account
https://github.com/kharoof
πŸ‘  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 48 others
properties (23)
post_id50,649,454
authoreroche
permlinkintroducing-steemr
categoryutopian-io
json_metadata"{"image": ["https://cdn.steemitimages.com/DQmdj994hGjRXbBW7za9iANXsrS4dVk2c9XamvkNfuVN3sb/Screenshot%20from%202018-05-28%2013-19-13.png"], "format": "markdown", "tags": ["utopian-io", "development", "r", "blockchainbi", "stats"], "users": ["eroche"], "app": "steemit/0.1", "links": ["https://github.com/kharoof/steemR", "https://github.com/kharoof"]}"
created2018-05-28 12:21:45
last_update2018-05-28 12:21:45
depth0
children22
net_rshares73,136,028,027,157
last_payout2018-06-04 12:21:45
cashout_time1969-12-31 23:59:59
total_payout_value230.227 SBD
curator_payout_value68.051 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length2,271
author_reputation59,490,065,137,068
root_title"Introducing steemR"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (112)
@sabbir1213 ·
Thank You so much for introducing with SteemR
properties (22)
post_id50,650,098
authorsabbir1213
permlinkre-eroche-introducing-steemr-20180528t122722677z
categoryutopian-io
json_metadata"{"tags": ["utopian-io"], "app": "steemit/0.1"}"
created2018-05-28 12:27:24
last_update2018-05-28 12:27:24
depth1
children0
net_rshares0
last_payout2018-06-04 12:27:24
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length45
author_reputation2,010,635,440,258
root_title"Introducing steemR"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@eastmael ·
$0.02
At last! I really was wondering when you'll start contributing to Utopian. :)
πŸ‘  
properties (23)
post_id50,656,500
authoreastmael
permlinkre-eroche-introducing-steemr-20180528t132356708z
categoryutopian-io
json_metadata"{"tags": ["utopian-io"], "app": "steemit/0.1"}"
created2018-05-28 13:23:57
last_update2018-05-28 13:23:57
depth1
children5
net_rshares6,702,617,094
last_payout2018-06-04 13:23:57
cashout_time1969-12-31 23:59:59
total_payout_value0.021 SBD
curator_payout_value0.002 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length77
author_reputation51,681,288,563,260
root_title"Introducing steemR"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@eroche · (edited)
$0.11
Ha ha, It's actually my second post on Utopian. 

I tried it out but I have been saving Utopian & Github for something special. This is my first R package which I will be submitting to CRAN! I am really excited about this as it will make the Steem data widely accessible to the whole R community.
πŸ‘  ,
properties (23)
post_id50,657,440
authoreroche
permlinkre-eastmael-re-eroche-introducing-steemr-20180528t133229884z
categoryutopian-io
json_metadata"{"tags": ["utopian-io"], "app": "steemit/0.1"}"
created2018-05-28 13:32:30
last_update2018-05-28 13:33:00
depth2
children4
net_rshares27,156,527,381
last_payout2018-06-04 13:32:30
cashout_time1969-12-31 23:59:59
total_payout_value0.083 SBD
curator_payout_value0.024 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length296
author_reputation59,490,065,137,068
root_title"Introducing steemR"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (2)
@eastmael ·
I think I overlooked your first Utopian post. I see R when I use Power BI but have not really pursued studying it. Looking forward to this project and thank you for exposing it to the R community.

From your post alone, I feel the R community is a tight one.
properties (22)
post_id50,667,133
authoreastmael
permlinkre-eroche-re-eastmael-re-eroche-introducing-steemr-20180528t144145072z
categoryutopian-io
json_metadata"{"tags": ["utopian-io"], "app": "steemit/0.1"}"
created2018-05-28 14:41:48
last_update2018-05-28 14:41:48
depth3
children3
net_rshares0
last_payout2018-06-04 14:41:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length258
author_reputation51,681,288,563,260
root_title"Introducing steemR"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@steevc ·
I had a brief play with R on an online course. I was thinking I should look more into data science, but I've not had any real use for it. It looks to have some powerful functionality, but it's quite different to other languages.
properties (22)
post_id50,658,378
authorsteevc
permlinkre-eroche-introducing-steemr-20180528t133937833z
categoryutopian-io
json_metadata"{"tags": ["utopian-io"], "app": "steemit/0.1"}"
created2018-05-28 13:39:39
last_update2018-05-28 13:39:39
depth1
children2
net_rshares0
last_payout2018-06-04 13:39:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length228
author_reputation273,317,013,544,223
root_title"Introducing steemR"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@eroche ·
$0.11
I'll be doing some tutorials in the next few weeks on it so keep an eye out if you are interested. It is very powerful, very quick and easy to use and one of the great features is the level of documentation that is available. Every add on package has to be documented and most include easy to follow examples. 

In the beginning it was more difficult to use but in the last few years an IDE R Studio has been developed which makes it very easy to use.
πŸ‘  
properties (23)
post_id50,659,159
authoreroche
permlinkre-steevc-re-eroche-introducing-steemr-20180528t134458912z
categoryutopian-io
json_metadata"{"tags": ["utopian-io"], "app": "steemit/0.1"}"
created2018-05-28 13:45:00
last_update2018-05-28 13:45:00
depth2
children1
net_rshares26,810,468,378
last_payout2018-06-04 13:45:00
cashout_time1969-12-31 23:59:59
total_payout_value0.106 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length451
author_reputation59,490,065,137,068
root_title"Introducing steemR"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@steevc ·
I used R Studio for the course, but I didn't get as far as the graphing.
properties (22)
post_id50,659,634
authorsteevc
permlinkre-eroche-re-steevc-re-eroche-introducing-steemr-20180528t134821917z
categoryutopian-io
json_metadata"{"tags": ["utopian-io"], "app": "steemit/0.1"}"
created2018-05-28 13:48:21
last_update2018-05-28 13:48:21
depth3
children0
net_rshares0
last_payout2018-06-04 13:48:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length72
author_reputation273,317,013,544,223
root_title"Introducing steemR"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@synergysteem ·
$0.02
Thank you for the post on R, I look forward to future posts. I will make a pull request and follow along.
πŸ‘  
properties (23)
post_id50,659,947
authorsynergysteem
permlinkre-eroche-introducing-steemr-20180528t135035345z
categoryutopian-io
json_metadata"{"app": "steemit/0.1", "tags": ["utopian-io"]}"
created2018-05-28 13:50:36
last_update2018-05-28 13:50:36
depth1
children1
net_rshares6,186,552,091
last_payout2018-06-04 13:50:36
cashout_time1969-12-31 23:59:59
total_payout_value0.019 SBD
curator_payout_value0.004 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length105
author_reputation40,947,012,609
root_title"Introducing steemR"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)
@eroche ·
Awesome.
properties (22)
post_id50,660,463
authoreroche
permlinkre-synergysteem-re-eroche-introducing-steemr-20180528t135426530z
categoryutopian-io
json_metadata"{"app": "steemit/0.1", "tags": ["utopian-io"]}"
created2018-05-28 13:54:27
last_update2018-05-28 13:54:27
depth2
children0
net_rshares0
last_payout2018-06-04 13:54:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length8
author_reputation59,490,065,137,068
root_title"Introducing steemR"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@helo ·
* I'm looking forward to see the results of a use case.
* Great comments and the code looks good.
* Please add a license to the repo.


Your contribution has been evaluated according to [Utopian policies and guidelines](https://join.utopian.io/guidelines), as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, [click here](https://review.utopian.io/result/3/2111121).

---- 
Need help? Write a ticket on https://support.utopian.io/. 
Chat with us on [Discord](https://discord.gg/uTyJkNm). 
[[utopian-moderator]](https://join.utopian.io/)
properties (22)
post_id50,684,330
authorhelo
permlinkre-eroche-introducing-steemr-20180528t165003121z
categoryutopian-io
json_metadata"{"app": "steemit/0.1", "tags": ["utopian-io"], "links": ["https://join.utopian.io/guidelines", "https://review.utopian.io/result/3/2111121", "https://support.utopian.io/", "https://discord.gg/uTyJkNm", "https://join.utopian.io/"]}"
created2018-05-28 16:50:03
last_update2018-05-28 16:50:03
depth1
children1
net_rshares0
last_payout2018-06-04 16:50:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length625
author_reputation119,612,833,307,875
root_title"Introducing steemR"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@eroche ·
Here is a sneak peak at a use case. I have built the following Shiny app using the R programming language. 

https://eroche.shinyapps.io/SteemAnalytics/
properties (22)
post_id50,706,367
authoreroche
permlinkre-helo-re-eroche-introducing-steemr-20180528t200706206z
categoryutopian-io
json_metadata"{"tags": ["utopian-io"], "app": "steemit/0.1", "links": ["https://eroche.shinyapps.io/SteemAnalytics/"]}"
created2018-05-28 20:07:06
last_update2018-05-28 20:07:06
depth2
children0
net_rshares0
last_payout2018-06-04 20:07:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length152
author_reputation59,490,065,137,068
root_title"Introducing steemR"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@gvand ·
Ah ok is programming? I don't understand much about that kind of language :(
properties (22)
post_id50,748,822
authorgvand
permlinkre-eroche-introducing-steemr-20180529t040138481z
categoryutopian-io
json_metadata"{"app": "steemit/0.1", "tags": ["utopian-io"]}"
created2018-05-29 04:01:39
last_update2018-05-29 04:01:39
depth1
children0
net_rshares0
last_payout2018-06-05 04:01:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length76
author_reputation13,489,628,825,916
root_title"Introducing steemR"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@utopian-io ·
Hey @eroche
**Thanks for contributing on Utopian**.
We’re already looking forward to your next contribution!

**Contributing on Utopian**
Learn how to contribute on <a href='https://join.utopian.io'>our website</a> or by watching <a href='https://www.youtube.com/watch?v=8S1AtrzYY1Q'>this tutorial</a> on Youtube.

**Want to chat? Join us on Discord https://discord.gg/h52nFrV.**

<a href='https://v2.steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1'>Vote for Utopian Witness!</a>
properties (22)
post_id50,797,651
authorutopian-io
permlinkre-introducing-steemr-20180529t122508z
categoryutopian-io
json_metadata"{"app": "beem/0.19.29"}"
created2018-05-29 12:25:09
last_update2018-05-29 12:25:09
depth1
children0
net_rshares0
last_payout2018-06-05 12:25:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length503
author_reputation152,913,012,544,965
root_title"Introducing steemR"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@andreina89 ·
Fantastic post good job congratulations
properties (22)
post_id50,950,697
authorandreina89
permlinkre-eroche-introducing-steemr-20180530t132856176z
categoryutopian-io
json_metadata"{"tags": ["utopian-io"], "app": "steemit/0.1"}"
created2018-05-30 13:29:30
last_update2018-05-30 13:29:30
depth1
children0
net_rshares0
last_payout2018-06-06 13:29:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length39
author_reputation293,614,688,351
root_title"Introducing steemR"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@aligaby89 ·
Extraordinary post good job greetings
properties (22)
post_id51,091,685
authoraligaby89
permlinkre-eroche-introducing-steemr-20180531t131908320z
categoryutopian-io
json_metadata"{"app": "steemit/0.1", "tags": ["utopian-io"]}"
created2018-05-31 13:19:42
last_update2018-05-31 13:19:42
depth1
children0
net_rshares0
last_payout2018-06-07 13:19:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length37
author_reputation123,026,877,081
root_title"Introducing steemR"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@nenya ·
Finally, an implementation for R, I am very much looking forward to seeing this package being further developed in the future. Good luck with your project!
properties (22)
post_id51,153,445
authornenya
permlinkre-eroche-introducing-steemr-20180531t223920981z
categoryutopian-io
json_metadata"{"app": "steemit/0.1", "tags": ["utopian-io"]}"
created2018-05-31 22:39:15
last_update2018-05-31 22:39:15
depth1
children0
net_rshares0
last_payout2018-06-07 22:39:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length155
author_reputation1,223,989,741,107
root_title"Introducing steemR"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@ghulammujtaba ·
My question may sound dumb but let me ask it. Via steemR we can access the Steem Blockchain using R but do we still have to subscribe to Steem DB service offered by @arcange? Or will we be able to access Steem DB using steemR?
properties (22)
post_id51,242,764
authorghulammujtaba
permlinkre-eroche-introducing-steemr-20180601t143458506z
categoryutopian-io
json_metadata"{"tags": ["utopian-io"], "app": "steemit/0.1", "users": ["arcange"]}"
created2018-06-01 14:34:57
last_update2018-06-01 14:34:57
depth1
children2
net_rshares0
last_payout2018-06-08 14:34:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length226
author_reputation7,585,775,750,291
root_title"Introducing steemR"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@eroche ·
It depends on what data you want.

@arcange runs a service called steemsql. This is a fantastic service that packages the blockchain data in an sql database so you can easily query it. 


steemR will let you access aspects of the Steem blockchain data but will not be as comprehensive as steemsql. It also does not provide an SQL connector so you will need to use R to access it.
properties (22)
post_id51,249,736
authoreroche
permlinkre-ghulammujtaba-re-eroche-introducing-steemr-20180601t153138515z
categoryutopian-io
json_metadata"{"tags": ["utopian-io"], "app": "steemit/0.1", "users": ["arcange"]}"
created2018-06-01 15:31:39
last_update2018-06-01 15:31:39
depth2
children1
net_rshares0
last_payout2018-06-08 15:31:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length379
author_reputation59,490,065,137,068
root_title"Introducing steemR"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
@ghulammujtaba ·
$0.14
Got it, thanks @eroche
πŸ‘  
properties (23)
post_id51,250,065
authorghulammujtaba
permlinkre-eroche-re-ghulammujtaba-re-eroche-introducing-steemr-20180601t153401495z
categoryutopian-io
json_metadata"{"tags": ["utopian-io"], "app": "steemit/0.1", "users": ["eroche"]}"
created2018-06-01 15:34:00
last_update2018-06-01 15:34:00
depth3
children0
net_rshares37,273,540,916
last_payout2018-06-08 15:34:00
cashout_time1969-12-31 23:59:59
total_payout_value0.126 SBD
curator_payout_value0.011 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length22
author_reputation7,585,775,750,291
root_title"Introducing steemR"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)