Description Usage Arguments Details Value See Also Examples
This function retrieves the profile of one or more Google+
user(s). Google calls this 'get people'. The results are
either returned as a raw list with one element per profile
or parsed using a parsing function, either the prepackaged
one parseProfile
or a user-supplied one.
1 | harvestProfile(id, parseFun = parseProfile)
|
id |
A character vector of the Google+ user ID(s). |
parseFun |
the function used to parse the results.
If |
When using your own parsing function, be sure that it takes a single element from the returned list and returns either a vector of values or a single row data frame.
The function returns either a raw list or a parsed version.
See Details
.
Google+ API documentation: https://developers.google.com/+/api/latest/people/get
1 2 3 4 | ## Not run:
gProfile <- harvestProfile("+google")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.