get_downloads: Scrap the download data of the package

View source: R/get_downloads.R

get_downloadsR Documentation

Scrap the download data of the package

Description

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

Usage

get_downloads(package)

Arguments

package

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

Value

An object of package_downloads class.

Examples


library(deepdep)

downloads <- get_downloads("ggplot2")
downloads




deepdep documentation built on March 7, 2023, 6:35 p.m.