[New Features on steemr] Display all the posts of a give Steemian with statistics, and get the utopian review and upvote plan!

in #utopian-io6 years ago (edited)

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 functionsposts() 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.

posts.png

  • 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.

gur.jpg

  • 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):

GitHub Account

https://github.com/pzhaonet

Sort:  

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:
  • Some people are already following you, keep going!
  • You have already convinced some users to vote for your post, keep trying!
  • Your contribution has not gone unnoticed, keep up the good work!

Feel free to join our @steem-ua Discord server

Coin Marketplace

STEEM 0.35
TRX 0.12
JST 0.040
BTC 70597.89
ETH 3559.60
USDT 1.00
SBD 4.77