An R client for interacting with the White House's "We The People" petition API.


[Up] [Top]

Documentation for package ‘wethepeople’ version 0.2

Help Pages

wethepeople-package A package for working with the We The People data.
generate_wordcloud_plots Generates plots of wordclouds for each petition.
melt_issues Melts the petitions data.frame, creating multiple rows for each petition issue.
petitions Petitions loaded Feb 19, 2013
petitions_from_json Transforms petitions from JSON to a data.frame
petition_term_document_matrix Calculates the TermDocumentMatrix for petitions.
plot_issues_over_time Generates a plot of issues over time.
plot_issues_pending_response Generates a plot of issues pending response over time.
plot_signature_count Plots the signature counts over time.
plot_status_by_creation Plots the statuses according to the creatio time.
plot_wordcloud Plots a wordcloud for the given petitions.
signatures Signatures loaded Feb 19, 2013
signatures_from_json Transforms Signatures from JSON to a data.frame
users_from_json Transforms Users from JSON to a data.frame
wethepeople A package for working with the We The People data.
WeThePeopleClient We The People API Client, based on RCurl. see RCurl