-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Toronto: Add agenda item type as subject #168
Toronto: Add agenda item type as subject #168
Conversation
Toronto: Add agenda item type as subject
Ah, sorry, meant to come and ask a question :) So you think subjects straight-up, or would it be add to append something like Or does this all not matter, because we can just fix it later? I get the impression we (ie. your scraping app) wipe the database each time and create all-new uuid's, but I havent' dug in to check. ALL THE QUESTIONS! |
Because Pupa is not very smart, and Represent doesn't need to preserve the UUIDs, we blow away people, memberships, posts and parties: opencivicdata/pupa#65 If you want to keep those, it may be necessary to run a separate instance, as a lot of users depend on Represent. |
Here's the method that does the deleting: https://github.com/opennorth/scrapers_ca_app/blob/master/reports/utils.py#L40 |
Hmm, yeah, this is not a bill subject. It'd be a bill classification maybe. Not sure why you'd prefix strings with |
Reverted for now: #169 |
I'm not sure about bill classification, as it's agenda item we're talking about. "Information" and "Presentation" types won't be used to create Bill objects since no vote is held, if i understand correctly. Or should we add agenda item classifications to the spec? |
Ah - I was looking too quickly. There is no field in the spec at the moment for this, but it'd be an agenda item classification I think. |
And the idea of the prefix was because subject is the closest thing we had to something appropriate for agenda items, but would also be needed to agenda item categories (which Toronto happens to have internally in TMMS, although I have to talk to internal folks to figure out best way to get them out) So |
And thanks, I'll look into adding item classifications |
For posterity, I below is the text of the email I sent to the City Clerk's Office
I received the following reply from Matthew Green:
|
So I was mistaken, and everything seems to get a vote, they're just never recorded in the vote record because no one ever bothers to request an individual tally :) Still, these would be very useful to keep, as non-action agenda items are pretty boring, and likely not something we want to notify people on (for our city hall app) |
http://app.toronto.ca/tmmis/viewPublishedReport.do?function=getAgendaReport&meetingId=10898
As seen in the link above, each agenda item has a type in its header. From what I've seen, there are a few options it can be: