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) One of 'software', 'data-experiment', 'workflows', or 'data-annotation' (defaults to '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: 11 × 4
#>     Year Month Nb_of_distinct_IPs Nb_of_downloads
#>    <int> <chr>              <int>           <int>
#>  1  2025 Jan                40692           77408
#>  2  2025 Feb                44415           86445
#>  3  2025 Mar                49122           98516
#>  4  2025 Apr                50317           97729
#>  5  2025 May                48986           97234
#>  6  2025 Jun                43713           83611
#>  7  2025 Jul                49289           93401
#>  8  2025 Aug                43336          495914
#>  9  2025 Sep                49437          449869
#> 10  2025 Oct                52586          135241
#> 11  2025 Nov                40602          159536