bioC_downloads {bioC.logs}R Documentation

function to download logs from bioConductor stats

Description

function to download logs from bioConductor stats

Usage

bioC_downloads(
  pckg = NULL,
  format = "bioC",
  from = NULL,
  to = NULL,
  when = NULL,
  verbose = TRUE
)

Arguments

pckg

list of packages names

format

two options: "bioC" (default) will report the downloads as reported by bioconductor, ie. "Year Month Nb_of_distinct_IPs Nb_of_downloads"; or, "CRAN" will report as CRAN logs does, ie. "Date count package_Name" (in cranlogs 'Nb_of_downloads' are referred as 'count')

from

date in "MM-YYYY" format, specifying the initial date to be considered (optional argument)

to

date in "MM-YYYY" format, specifying the final date to be considered (optional argument)

when

optional argument, to specify pre-defined range dates; ie. 'ytd', 'year-to-date', 'last-year'

verbose

boolean flag indicating whether to print information about the processes...

Value

a list containing a dataframe per package entered with columns as indicated by the format argument

Examples

bioC_downloads(c("ABarray","a4Classif"))
bioC_downloads("edgeR", verbose=FALSE)
edgeR.logs <- bioC_downloads("edgeR", format="CRAN")
edgeR.logs <- bioC_downloads("edgeR", when='last-year', format='bioC')
edgeR.logs <- bioC_downloads("edgeR", to='03-2015', format='bioC')
edgeR.logs <- bioC_downloads("edgeR", from='03-2015', format='bioC')
edgeR.logs <- bioC_downloads("edgeR", from='03-2015',to='05-2016', format='bioC')

[Package bioC.logs version 1.2 Index]