dlstats: Download Stats of R Packages

> library(dlstats)

バージョン: 0.0.5


関数名 概略
bioc_stats bioc_stats
cran_stats cran_stats

bioc_stats

bioconductor.org でのRパッケージダウンロード情報を取得

> bioc_stats("emojifont") %>% head() %>% knitr::kable(format = "markdown")
Warning in file(file, "rt"): URL 'https://bioconductor.org/packages/stats/
bioc/emojifont/emojifont_stats.tab': status was '404 Not Found'
Error in as.Date.default(.): do not know how to convert '.' to class "Date"

cran_stats

CRANでのRパッケージのダウンロード情報を取得する

> cran_stats(c("ggplot2", "dplyr")) %>% head() %>% knitr::kable(format = "markdown")
start end downloads package
19 2012-10-01 2012-10-31 137 ggplot2
21 2012-11-01 2012-11-30 5029 ggplot2
23 2012-12-01 2012-12-31 6447 ggplot2
25 2013-01-01 2013-01-31 11673 ggplot2
27 2013-02-01 2013-02-28 13088 ggplot2
29 2013-03-01 2013-03-31 16820 ggplot2