Description Usage Arguments Value Examples
This function takes a raw list of posts (as retrieved by
harvestPage
) and extracts any attachments it
might find. It uses private (i.e. not exported) parsing
functions for some known attachment types. At present,
these are articles, albums, photos and videos. Other
attachment types will just be cast generically to
data.frames. The rownames of all these data frames are the
id
s of the posts that attachment belongs to. The
columns of the returned data frames should be pretty much
self-explanatory. If in doubt, check the Google+ API
documentation
https://developers.google.com/+/api/latest/activities#object.attachments.
1 | parseAttachments(pl)
|
pl |
a posting list as retrieved e.g. by
|
A list containing one data frame per identified attachment type.
1 2 3 4 5 | ## Not run:
myPosts <- harvestPage("115046504166916768425", ret="list")
myPosts.att <- parseAttachments(myPosts)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.