download_mod_mbox: Compose mod_mbox archives (.mbox) into a single mbox file for...

View source: R/mail.R

download_mod_mboxR Documentation

Compose mod_mbox archives (.mbox) into a single mbox file for use with parse_mbox

Description

Compose mod_mbox archives (.mbox) into a single mbox file for use with parse_mbox

Usage

download_mod_mbox(
  base_url,
  mailing_list,
  from_year,
  to_year,
  save_file_path,
  is_per_month = TRUE,
  verbose = FALSE
)

Arguments

base_url

An url pointing to the mod_mbox directory (e.g. "http://mail-archives.apache.org/mod_mbox") without trailing slashes

mailing_list

Name of the project mailing list (e.g. apr-dev) in the mod_mbox directory

from_year

First year in the range to be downloaded

to_year

Last year in the range to be downloaded

save_file_path

the full path, including file name and extension to save the file

is_per_month

If TRUE, does not delete monthly files in tmp. (Default = TRUE)

verbose

Prints progress during execution

Value

Returns the path of the downloaded mbox file.


sailuh/kaiaulu documentation built on April 17, 2024, 2:21 a.m.