retrievePckgData: function to download the data from the CRAN logs for an...

View source: R/downloadsStats-utils.R

retrievePckgDataR Documentation

function to download the data from the CRAN logs for an specific package

Description

function to download the data from the CRAN logs for an specific package

Usage

retrievePckgData(pckg = NULL, t0 = lastyear.date(), t1 = today())

Arguments

pckg

is the name of the package to look for the downloads data

t0

is the initial date

t1

is the final date

Value

a list composed of the stats from the original time frame and the last month

Examples


retrievePckgData("ehelp")
retrievePckgData("ehelp","2018-01-01","2020-01-01")


Visualize.CRAN.Downloads documentation built on March 31, 2023, 7:21 p.m.