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:
id
The Google+ user ID.
sex
The user's gender: male
,
female
, or other
.
ln
The user's last name.
fn
The user's first name.
verified
Logical. TRUE
if it is a
verified Google+ profile.
website
A URL listed in the profile.
ageMin,
ageMax
Google+ provides only age ranges for some profiles. This will contain the lower and upper bound of the age range of the user.
bday
The birthday of the user (YYYY-MM-DD).
nCircled
The number of Persons the user circled by.
currentLoc
The user's current location.
lang
The primary language the user reported.
p1count
The number of +1s the user awarded.
relationship
The user's relationship status.
bio
The ‘About Me’ short autobiography.
tagline
The tagline of a profile.
type
The type of a profile: person
or
page
.
brag
The ‘bragging rights’ section of the profile.
occ
The person's occupation.
skills
The 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.