Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It would be cool to publish the 'Trending petitions' history as open data #458

Open
henryhadlow opened this issue Apr 17, 2016 · 0 comments

Comments

@henryhadlow
Copy link
Contributor

Proposal:

  • Add journaling per petition to record the signature count hourly
  • To keep it performant you could have daily rows with 24 columns, one for each hour
  • The signing rate could be easily calculated, just the difference between one hour's count and the previous count
  • We could then add this data to the existing json for each petition (eg https://petition.parliament.uk/petitions/124333.json)

This would let people see the signing history of petitions and make mashups where you could see trending petitions against events in the news

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant