Open derekeder opened 8 years ago
Might be easiest to just add these through the django admin http://ocd.datamade.us/admin/
Was wondering if this issue is still live and being worked on. If not, would you all accept a PR? And if so, do you have preferences on where the handles/data would live (as part of the info pulled in from the scraper? Manually handled as suggested in https://github.com/datamade/chi-councilmatic/issues/126#issuecomment-233143839? Somewhere else?
Happy to give it a go if that sounds good, and if folks could share guidance on the preferred place for the data.
Thanks!
i think handling this with the scraper would be great.
something like https://github.com/opencivicdata/scrapers-us-municipal/blob/chicago_comprehensive/chicago/rule_forty_five.py
if you could make a file with a python dictionary with the keys being the alders names and the values like a list of dictionaries representing accounts that would be great.
something like:
SOCIAL_MEDIA_ACCOUNTS = {
"Hadden": [{'site': 'twitter', 'account': '@coolalder', 'url': https://x.com/@coolalder'},
{'site': 'mastadon', 'account': '@coolalder', 'url': https://mastadon.xyz/@coolalder'}],
...
Please have the names appear as they do in https://github.com/opencivicdata/scrapers-us-municipal/blob/chicago_comprehensive/chicago/rule_forty_five.py, which are mostly last names, but a few folks have full names to disambiguate.
here's a source for the URLs http://www.chicityclerk.com/city-council-news-central/council-members
Related to #109