Description Usage Arguments Details Value See Also Examples
This function takes a raw list of profiles (as retrieved by
harvestProfile) and parses the contained
information into a one row data frame.
1 | parseProfile(p)
|
p |
a raw profile as retrieved e.g. by
|
The following fields will be filled with data (if
available) or NA otherwise:
idThe Google+ user ID.
sexThe user's gender: male,
female, or other.
lnThe user's last name.
fnThe user's first name.
verifiedLogical. TRUE if it is a
verified Google+ profile.
websiteA URL listed in the profile.
ageMin,
ageMaxGoogle+ provides only age ranges for some profiles. This will contain the lower and upper bound of the age range of the user.
bdayThe birthday of the user (YYYY-MM-DD).
nCircledThe number of Persons the user circled by.
currentLocThe user's current location.
langThe primary language the user reported.
p1countThe number of +1s the user awarded.
relationshipThe user's relationship status.
bioThe ‘About Me’ short autobiography.
taglineThe tagline of a profile.
typeThe type of a profile: person or
page.
bragThe ‘bragging rights’ section of the profile.
occThe person's occupation.
skillsThe person's skills.
a one row data frame with a number of fields. See Details.
Google+ API documentation: https://developers.google.com/+/api/latest/people/get
1 2 3 4 | ## Not run:
gProfile <- parseProfile(harvestProfile("+google", parseFun=NULL))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.