Description Usage Arguments Examples
this identifies the number of downloads of packages from the RStudio CRAN mirror; it can be used as a measure of package popularity and, by extension, a measure of the importance of a particular package having good engineering standards
1 | check_downloads(packages = NULL, start_date, end_date, all = FALSE)
|
packages |
the name of a package, or a vector of multiple package names. |
start_date |
the start of the date range to cover. |
end_date |
the end of the date range to cover. |
all |
whether to retrieve data for all packages, rather than one specific package. Set to FALSE by default. |
1 2 3 4 5 | #ggplot2 downloads in March 2015
check_downloads("ggplot2", "2015-03-01", "2015-03-31")
#all package downloads on 1-2nd April
check_downloads(NULL, "2015-04-01", "2015-04-02", all = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.