write_warc_record: Write a WARC record to a file

Description Usage Arguments

View source: R/write_warc_record.r

Description

Write a WARC record to a file

Usage

1
write_warc_record(warc_rec, warc_path, compressed = FALSE, append = TRUE)

Arguments

warc_rec

a WARC Record (as created by as_warc)

warc_path

path to WARC file

compressed

if TRUE a gz compressed version will be appended to warc_path. This inherently means that warc_path should, therefore, be an existing file comprised of invividually compressed streams of WARC records.

append

if TRUE then the data will be appended to warc_path


hrbrmstr/warc documentation built on May 17, 2019, 5:53 p.m.