Open fgregg opened 5 years ago
For your consideration, @reginafcompton. Not time sensitive.
I like the second proposal. A couple details that we need to think about:
matter_ids
: https://github.com/opencivicdata/scrapers-us-municipal/blob/master/lametro/bills.py#L97I know there's more to consider, but just noting some challenges that immediately come to mind.
Right now we are aggressively scraping all events and all bills on Friday afternoon and evenings to deal with changes to events and bills not modifying appropriate fields so we can catch updated information in a windowed search.
The bill scrape takes 22 minutes, which means that the maximum latency between a bill being updated by LAMetro and appearing on the councilmatic site is 22 minutes + polling frequency of import_data + time for import_data to run.
Since what LA Metro really cares about on Friday is that the agendas are accurate, we could take a somewhat different strategy that should decrease that latency.