Learn R Programming

Visualize.CRAN.Downloads (version 1.0.3)

retrievePckgData: 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())

Value

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

Arguments

pckg

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

t0

is the initial date

t1

is the final date

Examples

Run this code
# \donttest{
retrievePckgData("ehelp")
retrievePckgData("ehelp","2018-01-01","2020-01-01")
# }

Run the code above in your browser using DataLab