Open derekeder opened 5 months ago
so the elms data source does not have the information about the dates of different versions, so the best that we can do is try to infer ording from the names of the files (currently stored in the "notes" field).
however, we were improperly putting some attachements of docs into the billversion table isntead of the attachment files, so fixing that should help.
once https://github.com/datamade/chicago-council-scrapers/issues/9 is resolved, fetch the latest bill according to
date
instead of usingfirst
to determine the latest version:https://github.com/datamade/chi-councilmatic/blob/main/chicago/models.py#L122