Twitter Ratio is an unofficial measure of how unpopular a particular tweet is. It is calculated simply by dividing the number of replies to the tweet by the number of favorites (or retweets). The logic being if its a crappy tweet, you would get fewer favorites and more replies. Thus higher the ratio, worse the tweet. In this post, I look at Trump’s twitter ratio since the day of his inauguration and his most unpopular tweets (as in tweets with highest twitter ratio).

Continue reading

One of the most transformative changes in my coding has been switching to tidyverse packages from base R. Tidy code is easier to write, read, maintain and almost always faster than the base R counterparts. While there has been some debate on whether base R should be taught to newcomers first or should they jump right into tidyverse, I havent heard anyone deny that ultimately, everyone should be be using tidyverse. A lot of online courses continue to use base R to teach students R programming. Hopefully the table below helps you switch from base R to their equivalent tidyverse commands when you are ready.

Continue reading

Author's picture

Rajesh Korde

Data Scientist. Programmer. Professional Woolgatherer