2 min read

[New Features on steemr] A Shiny app for the statistics of the Steem CN community!

原文链接: steemit, cnsteem, busy, chainbb, steemdb, steemd, busy, markdown

Repo

https://github.com/pzhaonet/steemr

Brief Intro and curriculum

steemr’ is an open source R package for playing with Steem data in R environment. It is used to download, post process, analyze, and visualize Steem data on the basis of the powerful statistic power of R.

Previously on steemr:

New Features

What features did I add?

A new functionscner() displays a Shiny app, which is a user friendly interactive UI for the statistics of a group of Steemians, hereby those who are active in the CN community. It has the potential to be used for other groups of Steemians with some simple modifications to this function.

Shiny is an R package that makes it easy to build interactive web apps straight from R. It is very easy to use even for non-R users. The single command scner() displays a webpage, on which a flexible data frame shows the data of the members in the CN community. The users can easily filter or order each column. If the users type an ID, then a brief report for the ID will appear.

scner.jpg

How did I implement them?

I added the new function scner() in ‘R/shiny.r’, as well as the internal functions scner_ui() and scner_server() which are the UI function and server function for scner(). Auxiliary files were added into the /inst folder. Each part of the functions are well documented. Other files were updated automatically by compilation.

Link to relevant lines in the code on GitHub can be found mainly in my latest commit (click to see the details):

GitHub Account

https://github.com/pzhaonet