Skip to content

Script Changes for Backfilling Historic Data#2144

Open
ACoullard wants to merge 6 commits into
codeforboston:mainfrom
ACoullard:AC/backfill-history-dev-changes
Open

Script Changes for Backfilling Historic Data#2144
ACoullard wants to merge 6 commits into
codeforboston:mainfrom
ACoullard:AC/backfill-history-dev-changes

Conversation

@ACoullard
Copy link
Copy Markdown
Collaborator

@ACoullard ACoullard commented May 20, 2026

Summary

Adds in a new script scripts/firebase-admin/runScrapersByCourt.ts and modifies existing scripts and scrapers to be run for arbitrary courts while retaining their original interfaces and functionality.

Addresses Issue #2107

Steps to test/reproduce

Running the script locally while pointed at the dev environment should work, as long as the updated functions are loaded in Firebase.
For example:
yarn firebase-admin -e dev run-script runScrapersByCourt.ts --court 191 --concurrency 3

Bills should start flowing in to the collection under generalCourts, and the batches should be visible in the /scrapers/bills/batches collection.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 20, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
maple-dev Ready Ready Preview, Comment May 20, 2026 1:56am

Request Review

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant