emails: Obtain emails in the table

Description Usage Arguments Functions See Also Examples

Description

These functions collapse the emails in the provided tbl to a comma-separated string that can be cut and paste into an email client's "To:" field.

Usage

1
2
3
get_emails(tbl, sorted = TRUE, delimiter = ", ")

print_emails(tbl, sorted = TRUE, delimiter = ", ")

Arguments

tbl

A tibble with one required column "email"

sorted

Should the emails be sorted before returning?

delimiter

Character(s) to use as a delimiter to when concatenating emails

Functions

See Also

parse_contact_table

Examples

1
2
3
4
5
6
7
html_file <- system.file(package = "contactparser", "testdata", "example.html")
parsed <- parse_contact_table(html_file)

get_emails(parsed)

print_emails(parsed)
print_emails(parsed, delimiter = "\n")

UW-GAC/contactparser documentation built on Feb. 5, 2020, 4:59 a.m.