Package 'dlstats'

Title: Download Stats of R Packages
Description: Monthly download stats of 'CRAN' and 'Bioconductor' packages. Download stats of 'CRAN' packages is from the 'RStudio' 'CRAN mirror', see <https://cranlogs.r-pkg.org:443>. 'Bioconductor' package download stats is at <https://bioconductor.org/packages/stats/>.
Authors: Guangchuang Yu [aut, cre]
Maintainer: Guangchuang Yu <[email protected]>
License: Artistic-2.0
Version: 0.1.7
Built: 2026-05-20 06:42:15 UTC
Source: https://github.com/guangchuangyu/dlstats

Help Index


bioc_stats

Description

monthly download stats of Bioconductor package(s)

Usage

bioc_stats(packages, use_cache = TRUE, type = "Software", progress = TRUE)

Arguments

packages

packages

use_cache

logical, should cached data be used? Default: TRUE. If set to FALSE, it will re-query download stats and update cache.

type

one of "Software", "AnnotationData", "ExperimentData", and "Workflow"

progress

logical, should a progress bar be shown? Default: TRUE. When TRUE, prints a the current package name and a text progress bar.

Value

data.frame

Author(s)

Guangchuang Yu

Examples

## Not run: 
library("dlstats")
pkgs <- c("ChIPseeker", "clusterProfiler", "DOSE", "ggtree", "GOSemSim", "ReactomePA")
y <- bioc_stats(pkgs, use_cache=TRUE, progress=TRUE)
head(y)

## End(Not run)

biocApp

Description

run shiny App for BioC packages

Usage

biocApp()

Author(s)

Guangchuang Yu


Get monthly download stats of CRAN package(s)

Description

Get monthly download stats of CRAN package(s), up to 500 packages at a time.

Usage

cran_stats(packages, use_cache = TRUE, progress = TRUE)

Arguments

packages

packages

use_cache

logical, should cached data be used? Default: TRUE. If set to FALSE, it will re-query download stats and update cache.

progress

logical, should a progress bar be shown? Default: TRUE. When TRUE, a text progress bar will display “fetching data for 'year-month'” as each month’s range is fetched.

Value

data.frame


cranApp

Description

run shiny App for CRAN packages

Usage

cranApp()

Author(s)

Guangchuang Yu


plot_bioc_stats

Description

plot bioconductor download stats

Usage

plot_bioc_stats(pkg = YGC_bioc_pkg)

Arguments

pkg

packages

Value

ggplot object

Author(s)

guangchuang yu


plot_cran_stats

Description

plot cran download stats

Usage

plot_cran_stats(pkg = YGC_cran_pkg)

Arguments

pkg

packages

Value

ggplot object

Author(s)

guangchuang yu


set_cran_start_year

Description

set query start year for 'cran_stats'

Usage

set_cran_start_year(year)

Arguments

year

start year

Author(s)

Guangchuang Yu