Skip to content

Legislator Profile - District Page #2132

@Mephistic

Description

@Mephistic

Summary

This issue covers implementing the District Tab of the Legislator Profile Page.

(The design includes a "Interactive Map TBD" image - we don't have a design for that component yet, so feel free to leave that as is for now - there will likely be a bigger project later to map testimony to geography based on initial feedback).

Success Criteria

  • Add a script to scrape legislative districts (from https://www.sec.state.ma.us/divisions/elections/voting-information/Massachusetts-districts.htm)
    • This happens once every ten years, so we should be fine for now with a simple backfill script rather than an ongoing scraper (and who can say where the data will actually live by the time we need to re-scrape)
    • This should let us get the District Name, the Towns/Cities the District covers, and the Wards.
      • The House has Wards, the Senate will just have Towns/Cities
    • The District Names should map to the District field on Member documents for Legislative Members, which is how we'll connect these to Legislator Profiles
  • Implement the frontend described by the screenshot below - it's currently a very simple concept, but will likely be expanded in future tickets once we've decided on how we want to handle the map concept

Screenshots

Image

Additional Links

Metadata

Metadata

Assignees

No one assigned

    Labels

    Ready for DevelopmentAutomatically assigned to issues that are ready to be picked upbackendBackend DevelopmentfrontendFrontend developmentscraperBackend work related to content scraping

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions