Skip to content

toledobastos/get_emails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

# Extract Email Addresses from Webpages and Text Files

==========


The function get_emails_text scraps text files for email addresses within the R environment. The funcion get_emails_webpage retrieves the email addresses listed in webpages that include email hyperlinks (if email.href=T) or the full body of the document (if email.href=F). The function get_emails_webpage takes one or multiple vectors of URLs and returns a vector with the emails found in the document (if return.df=F) or a data frame with the original URL(s) followed by emails on that page separated by columns (if return.df=T). The default arguments are return.df=F and email.href=F.

--------------

# Author: Marco T. Bastos
# Date: 2014-10-08
# Modified: 2011-10-08
# Description: Extracts all email addresses from webpages and text files
# Imports: RCurl, XML, stringr   

# Copyright (c) 2014, under the Creative Commons Attribution-NonCommercial 3.0 Unported (CC BY-NC 3.0) License
# For more information see: https://creativecommons.org/licenses/by-nc/3.0/
# All rights reserved.

About

Extract Emails Addresses from Webpages and Text Files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages