Skip to content

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

Description

@henryhadlow

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions