[New Features on steemr] Functions as vote reports!

in #utopian-io6 years ago (edited)

Repo

https://github.com/pzhaonet/steemr

New Features

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

What features did I add?

  • Following the suggestions from the utopian moderator, default values of the parameters were removed from the functions, and

  • the database URI for SteemSQL was defined in an independent function steemsql_connection(). Many thanks to the moderator!

  • New functions about the vote information were added, including

    • who_not_vote(), which shows which followers have not voted a post yet,
    • voter(), which gives a vote report of given IDs with all the vote records, a summary, as well as a time series plot of daily votes, and

    2018-06-27-003.jpeg

    A diagram produced by voter() .

    • voter_sum(), which give a report of the voters of a series of posts with a summary and a pie diagram.

2018-06-27-002.jpeg

A pie diagram produced by voter_sum().

  • Some minor literal changes.

How did I implement them?

I added these new functions in 'R/steemr.r'. For easy maintenance, the hourrose()function was moved into a single 'R/hourrose.r' file.

2018-06-27-001.jpg

A screenshot showing that I was writing the functions with the RStudio IDE.

Links to relevant lines in the code on GitHub can be found mainly in my latest commits as follows:

GitHub Account

https://github.com/pzhaonet

Sort:  

Thanks for the contribution, @dapeng! Those are some cool new functions - I especially like the pie chart generated by `voter_sum()!

A small thing: the license in your repository just contains this

YEAR: 2018
COPYRIGHT HOLDER: Peng Zhao <[email protected]>

It would be best if you'd update it to contain an actual license.

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 comment! The format of the license is required by CRAN. You could find the line in DESCRIPTION file:

https://github.com/pzhaonet/steemr/blob/master/DESCRIPTION#L22

These two things can generate the right license by CRAN. Otherwise CRAN does not accept the submission of the package.

but you are right. Maybe the complete license can be written in another file, e.g. readme.md, which CRAN does not care much.

I see, thanks for clarifying.

Hey @dapeng
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!

Coin Marketplace

STEEM 0.29
TRX 0.12
JST 0.033
BTC 62996.10
ETH 3122.17
USDT 1.00
SBD 3.88