if (FALSE) {
df <- cran_downloads(pkgs = "eurostat", sum = "total", use.cache = FALSE)
kable(df)
## Compare two packages
p1 <- cran_downloads(pkgs = "eurostat", sum = "by_year", output = "plot")
p2 <- cran_downloads(pkgs = "osmar", sum = "by_year", output = "plot")
gridExtra::grid.arrange(p1, p2, nrow = 2)
}
Run the code above in your browser using DataLab