-
Notifications
You must be signed in to change notification settings - Fork 9
Adapting Data
Running manage.py loadlegfiles
deploys the handle
method of the class defined in https://github.com/open-city/councilmatic/blob/master/councilmatic/phillyleg/management/commands/updatelegfiles.py
In the handle method, the initializes a CouncilmaticDataStoreWrapper, defined in https://github.com/open-city/councilmatic/blob/master/councilmatic/phillyleg/management/scraper_wrappers/stores/councilmatic_orm.py.
This seems to be an interface to the Django models defined in https://github.com/open-city/councilmatic/blob/master/councilmatic/phillyleg/models.py
The second thing is initialized is PhillyLegistarSiteWrapper https://github.com/open-city/councilmatic/blob/master/councilmatic/phillyleg/management/scraper_wrappers/sources/insite_scraper.py
The next thing to do is to write ChicagoLegistarSiteWrapper that has the same input/output as PhillyLegistarSiteWrapper but works for Chicago