R We The People?
An R Package for working with the White House's We The People API.
The package is currently focused on loading petition data, running ad-hoc analysis and exploratory visualizations.
install.packages('wethepeople') library(wethepeople) example(wethepeople) # Load petitions client <- WeThePeopleClientAPI() petitions <- client$petitions() # Make some eye candy plot_issues_over_time(petitions) plot_issues_pending_response(petitions)
There following images were generated using the package examples.