Skip to content

Instantly share code, notes, and snippets.

@herbps10
Last active February 25, 2018 15:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save herbps10/b34cfa641bd255757e5e15a4238c695b to your computer and use it in GitHub Desktop.
Save herbps10/b34cfa641bd255757e5e15a4238c695b to your computer and use it in GitHub Desktop.
R Package Download Graph
library(tidyverse)
log <- cranlogs::cran_downloads(packages="RNHANES", from="2016-09-28")
ggplot(log, aes(x = date, y = cumsum(count))) + geom_point()
sum(log$count)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment