get_downloads: Scrap the download data of the package

Description Usage Arguments Value Examples

View source: R/get_downloads.R

Description

This function uses API of CRAN Logs to scrap the download logs of the package.

Usage

1
get_downloads(package)

Arguments

package

A character. Name of the package that is on CRAN.

Value

An object of package_downloads class.

Examples

1
2
3
4
library(deepdep)

downloads <- get_downloads("ggplot2")
downloads

deepdep documentation built on June 7, 2021, 5:07 p.m.