Description Usage Arguments Value Examples
Removes daily shared downloads amongst CRAN packages and re-download/CRAN mirror spikes associated with package updates.
1 2 | adj_cran_downloads(packages, when, from, to, removeupdatespikes = TRUE,
numbercomparison = 100, packagequantile = 0.05)
|
packages |
A character vector, the packages to query. |
when |
|
from |
Start date, in |
to |
End date, in |
removeupdatespikes |
Default TRUE. Removes the spike in downloads due to automatic re-downloads and CRAN mirrors associated with a package update. Replaces value with the median download value across the measurement period. |
numbercomparison |
Default 100. The number of random packages to inspect to determine the minimum number of downloads in any single day. |
packagequantile |
Default 0.05. The quantile defining the "minimum" number of downloads on a single day. |
A data frame of downloads and total downloads by package.
|
Day of the downloads, it is a Date object. |
|
The package. This column is missing if all packages were queried. |
|
Raw download count. |
|
Raw total number of downloads from beginning of measurement period. |
|
Estimated CRAN-wide automated downloads for that day. |
|
TRUE if the package was updated that day, FALSE otherwise. |
|
Daily download count, adjusted. |
|
Adjusted total number of downloads from beginning of measurement period. |
1 2 3 4 | ## Not run: adj_cran_downloads("skpr",from="2017-08-15",to="2017-11-15")
adj_cran_downloads("skpr",when="last-month")
adj_cran_downloads(c("skpr","AlgDesign"),when="last-month")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.