Learn R Programming

rodham (version 0.1.1)

clean_content: Clean emails

Description

Clean emails by removing useless lines.

Usage

clean_content(content)

Arguments

content

list of content as returned by get_content.

Details

Example of line removed UNCLASSIFIED U.S. Department of State Case No. F-2014-20439 Doc No. C05765911 Date: 08/31/2015 look at the source code for more details clean_content.

Examples

Run this code
# NOT RUN {
hrc_emails <- load_emails(emails_bengh) # load emails
cont <- get_content(hrc_emails)
cont <- clean_content(hrc_emails)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab