get_logfile: Retrieve a vector of sampled log files

Description Usage Arguments Value Author(s)

View source: R/logs.R

Description

Grabs sampled log files to be piped into read_sampled_log(). By default this retrieves all sampled log files; it can be used to retrieve a particular date range of files through the "earliest" and "latest" arguments.

Usage

1
get_logfile(earliest = NULL, latest = NULL)

Arguments

earliest

a Date object. Set to NULL by default, which triggers the retrieval of all log file names.

latest

a Date object; set to NULL by default. In the event that earliest is set but latest is not, the files retrieved will span from earliest to the current date; in the event that both arguments are set, the retrieved files will be those in that range.

Value

A vector of filenames that can be passed into read_sampled_log()

Author(s)

Os Keyes


wikimedia/wikimedia-discovery-wmf documentation built on Feb. 7, 2021, 12:19 a.m.