steemr is an open source R package for playing with Steem data in the R environment. It can download, post process, analyze, and visualize Steem data on the basis of the powerful statistic power of R. Currently, the version 0.0.0 can:
# From CRAN
install.packages('steemr')
# Or from github repo
install.packages('devtools')
devtools::install_github('pzhaonet/steemr')
library('steemr')
If the user would like to use the method = 'appbase_api'
, then the package ‘pzhaonet/steemr2’, forked from ‘kharoof/steemR’, must be installed.
devtools::install_github('pzhaonet/steemr2')
gid(id = 'dapeng', method = 'steemdb.com')
gid(id = 'dapeng', method = 'appbase_api')
gfollow('dapeng')
gfollowing(id = 'dapeng')
gidposts(id = 'dapeng', method = 'steemdb.com', post_number = 3)
gidposts(id = 'dapeng', method = 'appbase_api')
mylinks <- c("cn/@dapeng/xuer-sale", "utopian-io/@dapeng/steemg-four-more")
tgpost <- gpost(postlink = mylinks[1], method = 'steemdb.com')
gposts(postlinks = mylinks, method = 'steemdb.com')
gidposts(id = 'dapeng', method = 'appbase_api')
gblog(id = 'dapeng')
posts <- post_id(id = 'dapeng', method = 'appbase_api')
phour(my_df = posts, col_time = 'datetime')
gvotep(mylinks[1])
avotenot(mylinks[2])
mysql <- ssql(uid = your_steemsql_id, pwd = your_steemsql_password)
gvoter(voters = c('dapeng', 'pzhao'),
from = '2018-03-01', to = '2018-05-31',
if_plot = TRUE, sql_con = mysql)
gaccounts(sql_con = mysql, if_plot= T)
bmd(post_df = posts)
bblog(author = 'dapeng', post_df = posts, initial = TRUE)
More functions are coming soon. Have fun!
sposts()
and gur()
.scner()
.scner()
.sfollow()
.sfollow()
.gspmv()
, gdelegation()
, gcner()
, acnsub()
.bmd()
, bblog()
.hourrose()
added.
Get the comment list and analysis within a period