Description Usage Arguments Value Author(s) References See Also Examples
This function will return information such as first and last name, title, etc. for a given person or persons.
1 | text2people(text, session=getCurlHandle())
|
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. |
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. |
Ryan Elmore
http://www.datasciencetoolkit.org/developerdocs#text2people
curlPerform
,
getCurlHandle
,
dynCurlReader
1 2 3 4 | ## Not run:
text2people("Tim O'Reilly, Archbishop Huxley")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.