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


[Up] [Top]

Documentation for package ‘wethepeople’ version 0.6.1

Help Pages

wethepeople-package A package for working with the We The People data.
add_datetime_fields Adds datetime fields based on some of the common fields in the resources
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_issue_signatures Plot issue signatures using a boxplot.
plot_sentiment_analysis Plots the sentiment together with petitions.
plot_sentiment_density Plots the sentiment density.
plot_signatures_by_time_of_day Plots the signature counts by time of day.
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
WeTheEntitiesAPIClient Supports entity and sentiment analysis using the We the Entities API. See http://wetheentities.herokuapp.com/
wethepeople A package for working with the We The People data.
WeThePeopleAPIClient We The People API Client, based on RCurl. see RCurl
WeThePeopleMySQLClient We The People MySQL Client