Closed fgregg closed 6 years ago
The logic for bill sponsorships follows:
Data scraped from Legistar API....NYC scraper Data imported Councilmatic Data rendered in templates
It looks like we did not scrape the sponsors for this particular bill. The matter has a LastModifiedUtc of 2017-12-11T17:46:18.09
, and the sponsor has a LastModifiedUtc of 2017-12-06T18:32:27.85
. It seems like we could have missed this bill, given the irregularity of our scrapes these last days. @hancush - does that seem reasonsible?
N.B. Many bills do have sponsorships: https://nyc-council-staging.datamade.us/legislation/t-2017-6565/ https://nyc-council-staging.datamade.us/legislation/t-2017-5727/ https://nyc-council-staging.datamade.us/legislation/t-2017-5867/ https://nyc-council-staging.datamade.us/legislation/t-2016-4004/
We've had the cron turned off the past two days, so it's definitely possible we're just behind.
@hancush - the bill in question does not have sponsorships
in the OCD API, though I see a sponsor in the Legistar API. Can you look into this on the scraper-side?
This should take care of it. https://github.com/opencivicdata/python-legistar-scraper/pull/63
Unfortunately, I think it also means a big scrape (again).
OCD API and Councilmatic site now have sponsors
https://nyc-council-staging.datamade.us/legislation/int-1786-2017/