Skip to content

Instantly share code, notes, and snippets.

@hancush
Created January 9, 2018 21:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hancush/023df74c5d723e4271bf4df976255760 to your computer and use it in GitHub Desktop.
Save hancush/023df74c5d723e4271bf4df976255760 to your computer and use it in GitHub Desktop.
  1. Assemble web_info by iterating over table cells parsed from Legistar GUI

  2. Assemble terms by iterating over City Council terms from Legistar API, adding members to the web_info dict as we go

  3. Assemble members by iterating over terms, storing names as keys, and Person objects, loaded with memberships for each City Council term, as values

  4. Continue to assemble members by iterating over body offices for each committee, storing memberships on the appropriate Person objects (or minting new ones where they don't exist) as we go

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