Description Usage Arguments Details Value See Also Examples
Fetch R-package download logs from the RStudio mirror to the directory specified if the logs don't already exist and read them with fread
from the data.table
package.
1 |
start |
Fetch download logs from this date (format: |
end |
Fetch download logs until this date (format: |
dir |
Complete path to the directory where the logs should be downloaded to. Default is to download to |
verbose |
|
select |
Character vector of column names to load from the logs. Default is |
read_logs
downloads all missing logs from start
until end
to the directory provided in dir
. After downloading all the logs, they will be automatically replaced with corresponding unzipped versions. Logs for which an unzipped version already exists will be skipped. If a log that was downloaded was corrupted, download + unzip will be attemped once again. If it fails the second time as well, that log is skipped.
Following that the logs will be read in using data.table::fread
.
As long as unzipped logs exist in the directory, they won't be downloaded again. So, it is preferred to keep using the same directory without deleting the logs that've been already downloaded, to save time.
A data.table
of all the download logs that are available between start
and end
dates.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.