processphonathon: Process Phonathon Reports

Description Usage Arguments Value

View source: R/processphonathon.R

Description

Process Phonathon Reports

Usage

1
2
3
4
processphonathon(directory = "data",
  saveto = str_replace_all(paste0("output/phonathonupdates-", Sys.time(),
  ".csv"), ":| ", "-"), startdate = Sys.time(),
  updatetypes = c("badnumbers", "wrongnumbers", "confirmations", "updates"))

Arguments

directory

the directory path where update files are stored. Defaults to getwd()/data

saveto

the file path where you want to save the file. Use NA to bypass saving the file

startdate

a date or time. Files modified within 10 hours or earlier than this time will be processed. Defaults to now.

updatetypes

a character vector listing which types of updates should be processed.

Value

a single data frame with all processed updates bound together


crazybilly/phonathonupdates documentation built on May 28, 2019, 4:35 p.m.