get_files: retrieve a vector of sampled log files

Description Usage Arguments Value

View source: R/read.R

Description

Grab 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_files(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.


wikimedia-research/pageviews documentation built on May 4, 2019, 5:24 a.m.