Emoji Stats of GitHub Issues?

Yihui Xie 2017-10-09

As I’m triaging more GitHub issues of the rmarkdown repo, I came across a reply under rstudio/rmarkdown#1020 that was upvoted 22 times, which surprised me. I don’t see this very often. Most of time I see only a couple of upvotes. I’m glad that so many people love the idea of rendering R Markdown notebooks on GitHub like Jupyter notebooks. We are at the mercy of GitHub, of course. Someone working for GitHub has to work with us for this to come true. So far we haven’t got a response yet.

Anyway, that is not the topic I’m trying to write about in this post. I’m wondering if anyone has used the GitHub API to obtain statistics of emoji’s in GitHub issues. I’m asking because we don’t get notifications when users add reactions to GitHub issues. We have no idea about which issues users liked or disliked most.

I’d like to provide the GitHub repo name, and get the summary statistics of reactions1 on GitHub issues (including those on replies). It is probably not that difficult (the GitHub API looks clear enough to me but I don’t have the time). Anyone to help?

Waiting for help

Update on 2017-11-16

Yang has prepared a GitHub repo, and it worked well for me. Thanks, Yang!


  1. Note I don’t mean emoji characters used in text, but reactions only. Currently GitHub has only provided six possible reactions. ↩︎