Description Usage Arguments Details Value Examples
This function turns a Google+ post into a (1 row) data
frame extracting or computing a number of fields. See
Details.
1 | parsePost(p)
|
p |
A raw post as returned from e.g. the
|
This function extracts or computes the following fields:
tiDate and time the post was published.
ageThe age of the post as
difference between now and ti in (floating point)
days.
idThe post's unique Google+ post ID.
auThe post's author's Google+ user ID.
veThe action describing the post.
nCThe number of comments the post has attracted so far.
nPThe number of +1s the post has attracted so far.
nRThe number of times the post has been reshared so far.
atThe type of attachment (article, photo, ...) as reported by the API
msgThe post's content.
A 1 row data frame filled with the information from the post parsed.
1 2 3 4 5 | ## Not run:
myPosts <- harvestPage("115046504166916768425", ret="list")
myPosts.df <- ldply(myPosts, parsePost)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.