rewrite_conditional: Conditionally write to a (rolling) file

Description Usage Arguments See Also

View source: R/writers.R

Description

Writes out temporal data to a file while ensuring the file only has n_days worth of data in it.

Usage

1
rewrite_conditional(x, file, n_days = 30)

Arguments

x

the object to write out

file

the path to the file to use

n_days

the number of days worth of data to have in the file; 30 by default

See Also

write_conditional()


wikimedia/wmfdata-r documentation built on Feb. 3, 2021, 3:45 p.m.