Last data update: 2014.03.03

R: Finds some good info related to people
text2peopleR Documentation

Finds some good info related to people

Description

This function will return information such as first and last name, title, etc. for a given person or persons.

Usage

text2people(text, session=getCurlHandle())

Arguments

text

A text string containing a person's name or a comma-separated list of names.

session

This is the CURLHandle object giving the structure for the options and that will process the command. For curlMultiPerform, this is an object of class code MultiCURLHandle-class.

Value

A data.frame containing

gender

Gender of the person.

first_name

The person's first name

title

A title associated with this person.

surnames

The person's last name

start_index

The beginning of the matched string in the original string.

end_index

The end of the matched string in the original string.

matched_string

The matched string used to look up this information.

Author(s)

Ryan Elmore

References

http://www.datasciencetoolkit.org/developerdocs#text2people

See Also

curlPerform, getCurlHandle, dynCurlReader

Examples

	## Not run: 
		text2people("Tim O'Reilly, Archbishop Huxley")
	
## End(Not run)

Results