Description Usage Arguments Details Value See Also Examples
Convenience wrapper for smsProcess, to import and combine mulitple files
1 2 |
files |
A character vector of files to import. Default "all" will import all XML files from the working directory. |
removeDuplicates |
When TRUE (default), will remove duplicate rows; useful for combining overlapping backups. |
keepUnsent |
Keeps unsent Draft and Failed messages when TRUE. Defaults to FALSE |
charCount |
When TRUE, adds a column counting the characters in each text. |
noMMS |
A flag to specify when no MMS data is present. If no MMS data exists, MMS munging code will throw errors. When TRUE, MMS munging code is skipped. |
smsBatch is a convenience wrapper for smsProcess, which pulls and combines multiple XML files of text message records. It can be passed a character string of file names to pass to process, or by default it will pull all XML files in the working directory.
A data.frame of text message data, sorted by date.
smsProcess
For the documentation on the underlying
function called by smsBatch
1 2 3 4 5 | #Import all XML files in working directory with default options
smsProcess()
#Import specific files, passing options to smsProceess
smsProcess(c("backup1.xml", "backup2.xml"), keepUnsent = TRUE,
charCount = FALSE, noMMS = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.