pkgDownloadStats {BiocPkgTools} | R Documentation

## Get Bioconductor download statistics for a package

### Description

Get Bioconductor download statistics for a package

### Usage

    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")

[Package BiocPkgTools version 1.12.2 Index]