carbonate

Create beautiful images of your source code from R

carbon.js is the easiest way to create beautiful images of your source code, and carbonate creates an api in R to interact with it. The package gives a new simple way to share your script with the rest of the R community on posters, slides, Shiny apps and social media! This little snippet combines SO MANY of my favorite #rstats 📦s: ✨ @jimhester_'s glue 🥛 @yoniceedee's carbonate 🐦 @kearneymw's rtweet [Read More]

Combining Github Traffic Plots Across Repositories

This post will show how to use the RSelenium package to scrape your own github account to retrieve all that fun traffic data of clones and visits and create a single traffic plot for your account. For the single file you can find it in this gist file. Packages library(RSelenium) library(XML) library(ggplot2) library(reshape2) library(plyr) library(dplyr) Fill in the relevant information for your account. The team is usually your username, but it can be different. [Read More]