Learn R Programming

plusser (version 0.3-5)

parsePost: Parsing a Google+ post

Description

This function turns a Google+ post into a (1 row) data frame extracting or computing a number of fields. See Details.

Usage

parsePost(p)

Arguments

p
A raw post as returned from e.g. the harvestPage function.

Value

  • A 1 row data frame filled with the information from the post parsed.

Details

This function extracts or computes the following fields: [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

Examples

Run this code
myPosts <- harvestPage("115046504166916768425", ret="list")
myPosts.df <- ldply(myPosts, parsePost)

Run the code above in your browser using DataLab