read_sampled_log: Read a sampled log file

Description Usage Arguments Value Author(s)

View source: R/logs.R

Description

Reads a sampled log file identified with get_logfile(). The sampled logs are returned as a data.frame with 16 columns - see the Value documentation.

Usage

1
read_sampled_log(file, transparent = FALSE, nrows = NULL)

Arguments

file

a filename, retrieved with get_logfile()

transparent

a logical flag whether to gunzip the log file explicitly first (default) or read it in directly.

nrows

number of rows to read in; optional

Value

a data.frame containing 16 columns:

Author(s)

Os Keyes


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