r-hub / cranlogs

Download Logs from the RStudio CRAN Mirror
https://r-hub.github.io/cranlogs/
Other
80 stars 13 forks source link

Compute number of unique IP addresses #43

Open lindbrook opened 5 years ago

lindbrook commented 5 years ago

Currently, cranlogs::cran_downloads() computes the number of downloads:

cran_downloads("HistData") date count package 1 2019-09-27 165 HistData

Would it be possible to also compute the number of unique IP addresses per package? You'd get something like:

cran_downloads("HistData") date count ip_count package 1 2019-09-27 165 107 HistData

(107 is correct by my computation)