Skip to contents

Note: this is only available for CRAN or bioconductor packages

Usage

get_12month_downloads(package, from = Sys.Date() - 365, to = Sys.Date())

Arguments

package

package name

from

start date

to

end date

Value

integer number of downloads

Examples

get_12month_downloads("ggplot2")
#> [1] 25998768
get_12month_downloads("secuTrialR")
#> [1] 4067