BuildCanada / BuildCanada/OutcomeTrackerAPI

Add Bill Scraping from LegisInfo

Open
#27 3 comments 0 reactions 1 assignee Claimed by @jameslong View on GitHub
Dominant language
Ruby
Stars
5
Forks
10
Avg merge
5m
Merged PRs (30d)
3

Description

We want to track relevant bills as they go through the legislative process. They should show up as evidence in the timeline.

![Image](https://github.com/user-attachments/assets/bc4f3ede-c36c-42a6-af6f-507b0fb66aec)

This requires three things:

1) Creating a feed that scrapes bills, their text, amendments and their progress from LegisInfo (they have an api: `https://www.parl.ca/legisinfo/en/bills/json`). Don't create Entries here, create new models to track bills specifically.

2) Linking those bills to promises

3) Create another model called `BillMovement` that tracks the progress through parliament and it should also track amendments to bill at each stage. This is what should be shown in the evidence view on the app.

We want bill tracking to be separate from entries so we can build other functionality with the raw bill data in the future.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.