Get Bioconductor download statistics for a package

pkgDownloadStats(
  pkg,
  pkgType = c("software", "data-experiment", "workflows", "data-annotation"),
  years = format(Sys.time(), "%Y")
)

Arguments

pkg

character(1) The name of a Bioconductor package

pkgType

character(1) Either one of 'software', 'data-experiment', 'workflows', or 'data-annotation' (defaults to 'all' or 'software')

years

numeric(), character() A vector of years from which to obtain download statistics (defaults to current year)

Value

A tibble of download statistics

Examples


pkgDownloadStats("GenomicRanges")
#> # A tibble: 5 × 4
#>    Year Month Nb_of_distinct_IPs Nb_of_downloads
#>   <int> <chr>              <int>           <int>
#> 1  2023 Jan                30409           84162
#> 2  2023 Feb                32011           87599
#> 3  2023 Mar                37808           89774
#> 4  2023 Apr                36317           85525
#> 5  2023 May                33876           76672