A Tool for Processing Steem Data

Steem is a blockchain-based social media platform (see < https://en.wikipedia.org/wiki/Steemit>). The Steem social activity data are saved in the Steem blockchain, the SteemDB database, the SteemSQL database, and so on. 'steemr' is an R package that downloads the Steem data from the SteemDB and SteemSQL servers, re-organizes the data in a user-friendly way, and visualizes the data for further analysis.


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:

  • obtain the complete post list for a given account,
  • obtain the complete account information from steemdb.com,
  • organized the 'follower' and 'following' information for a given account,
  • obtain the following history of a given account,
  • download the vote records of a given post, and
  • download the complete data of the latest 100 posts of a given account.

Quick start

Installation

install.packages('devtools')
devtools::install_github('pzhaonet/steemr')
library('steemr')

Examples

obtain the complete account information

id_info(id = 'dapeng')

Get a name list of an ID's followers and following

follower(id = 'dapeng')

Get an id's following history

following(id = 'dapeng')

Get an ID's complete post list with hyperlinks

post_links(id = 'dapeng', post_number = 3)

Get the complete info of a single given post on steemdb.com

post_info(postlink = 'utopian-io/@dapeng/steemg-four-more')

Get the detailed information of given posts from steemdb.com

post_df(c('cn/@dapeng/xuer-sale',
          'utopian-io/@dapeng/steemg-four-more'))

Get an ID's posts with complete information

post_id(id = 'dapeng', post_number = 10)

More functions are coming soon. Have fun!

Updates

2018-06-12. v0.0.1. A bug of the hyperlinks was fixed.
2018-06-11. v0.0.0. A preliminary version.

License

Copyright 2018 Peng Zhao.

Released under the MIT license.

News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.