bioC_downloads | R Documentation |
function to download logs from bioConductor stats
bioC_downloads( pckg = NULL, format = "bioC", from = NULL, to = NULL, when = NULL, verbose = TRUE )
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... |
a list containing a dataframe per package entered with columns as indicated by the format argument
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')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.