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




DominikRafacz/deepdep documentation built on Feb. 27, 2023, 3:39 p.m.