[New Features on steemr] Display all the posts of a give Steemian with statistics, and get the utopian review and upvote plan!
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 Project] steemr: an R package to download, play with, and visualize Steem data
- [New Features on steemr] Now steemr supports SteemSQL queries!
- [New Features on steemr] supports AppBase API and plots active hour diagrams!
- [New Features on steemr] Functions as vote reports!
- [New Features on steemr] Functions for accounts and comments report!
- [New Features on steemr] Functions for saving the posts and building an independent blog site!
- [New Features on steemr] Functions for delegation report and CNer report!
- [New Features on steemr] Functions for a user friendly UI as a follower report!
- [New Features on steemr] Diagrams in the follower shiny app!
- [New Features on steemr] A Shiny app for the statistics of the Steem CN community!
- [New Features on steemr] Diagrams in the Shiny app for the statistics of the Steem CN community!
New Features
What features did I add?
A new function
sposts()
displays a Shiny app, which is a user friendly interactive UI to show all the posts of a give Steemian's ID. Analysis diagrams are plotted as well, including the distribution of the post payout and votes, the active hour of the Steemian's posting, and the time series of the growth of the cumulative post number, payout, and votes.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
sposts()
displays a webpage, on which a flexible data frame shows the data of all the posts of the given Steemian's ID. The users can easily filter, order or search each column.
- A new function
gur()
can gets the utopian review and upvote plan from utopian.rocks. Utopian.io users can use it to see the progress of the submission and upvoting. Furthermore, users can do some further analysis on the utopian review data. Many thanks to @amosbastian, the author of utopian.rocks.
- Some minor bugs were fixed.
How did I implement them?
I added the new function sposts()
in 'R/shiny.r', as well as the internal functions sposts_ui()
and sposts_server()
which are the UI function and server function for sposts()
, the function repcalc()
which calculates the reputation of the given Steemian, and the function skewness()
to calculate whether a distribution is normal.
I added the new function gur()
in 'R/get.r'.
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):
Thanks for the contribution, @dapeng! It's always cool to see someone using my API for something, haha. For your information instead of scraping the page you are probably better off using
Also good to see you used my suggestion of adding a description to the body of the commit message!
Your contribution has been evaluated according to Utopian policies and 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.
Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]
Thank you for your review, @amosbastian!
So far this week you've reviewed 6 contributions. Keep up the good work!
Wow, did not know that there is API of utopian.rocks! It is great work. Thank you very much for your helpful comment again! You and utopian.rocks shoud surely be acknowledged in the documentation of
gur()
!Hey, @dapeng!
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!
Get higher incentives and support Utopian.io!
Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via SteemPlus or Steeditor).
Want to chat? Join us on Discord https://discord.gg/h52nFrV.
Vote for Utopian Witness!
Hi @dapeng!
Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your UA account score is currently 4.020 which ranks you at #3383 across all Steem accounts.
Your rank has dropped 17 places in the last three days (old rank 3366).
In our last Algorithmic Curation Round, consisting of 282 contributions, your post is ranked at #273.
Evaluation of your UA score:
Feel free to join our @steem-ua Discord server