-
Notifications
You must be signed in to change notification settings - Fork 22
Adding Enforcement Attributes to Demand Data #179
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
Conversation
Adding the ability to handle enforcement related events in the CDS Curb Events and Metrics data. Based on work with LADOT in the SMART Grant Collab
Addition of metric to handle summation of events
We will be talking about this at today's public Curb Working Group meeting. |
From our Curb Working Group meeting today:
SFMTA pushes our parking citation data to a public open data feed, and it would be great to have this information available in CDS events. LADOT does as well: https://data.lacity.org/Transportation/Parking-Citations/4f5p-udkv/about_data |
Also slight edits to language.
Added a commit to connect Events to Objects, but held off on adding the key-value pairs as I want to see if anyone else has thoughts on attributes to add:
|
Where would these key value pairs be added? |
@jacobmalleau I think go ahead and add a new Enforcement data type with these fields, like we created for External References. Then we can talk about what enforcement fields to add/remove/edit beyond your short list. You can then add the new enforcement data object as a field in Events, like with External References in Events (bottom of table) and Curbs. |
Will likely need a review from City staff and/or enforcement vendors to validate fields and whether additional fields are needed.
Thanks, looks good, I made some formatting updates, and changed it to just 'Enforcement'. The 'External Reference' name was really just because it was a reference to an external thing. |
We will be reviewing this at tomorrow's public Curb Working Group meeting. However we won't have much time to discuss, so leave your comments and suggestions here as general or inline comments to spark changes before the CDS 1.1 release is made. |
There are a few places where we are using
If we can get consensus in one direction or another there are some additional changes that will need to be made. |
Co-authored-by: michael-danko-passport <99669313+michael-danko-passport@users.noreply.github.com>
Co-authored-by: michael-danko-passport <99669313+michael-danko-passport@users.noreply.github.com>
Co-authored-by: michael-danko-passport <99669313+michael-danko-passport@users.noreply.github.com>
Reduces need to enumerate event types. Co-authored-by: michael-danko-passport <99669313+michael-danko-passport@users.noreply.github.com>
Co-authored-by: michael-danko-passport <99669313+michael-danko-passport@users.noreply.github.com>
Co-authored-by: michael-danko-passport <99669313+michael-danko-passport@users.noreply.github.com>
Are you thinking here, for ticket_id and ticket_cost? Is a ticket different than a citation? Can there be a ticket ID and a citation ID too, or are those really always the same thing? |
@JohnLundstrom-Minneapolis and @bhamlinSDOT can you propose a definition of a It should be an open ended 'string' type, so you can use two letter abbreviations if needed, or other cities can use what they need. |
@schnuerle In San Francisco, we utilize Regarding the definition for |
Based on @kenyaw's comments, I think you can align things to citation, and away from ticket @michael-danko-passport. And update the violation description to "The city/municipal, county, state, provincial, or federal code that was violated." Note I added federal to that list. |
I'm realizing that we wouldn't be capturing changes to the status over time (such as when a citation is cancelled on some future date), as those wouldn't be distinct curb events, but we still have some options at the time the citation is issued, mainly delineating between a warning and an active citation. My first attempt is: "Describes the disposition of the citation at the time it was issued which can be used to identify alternate use cases such as warnings." |
Documentation updates: - Clarifies distinction between vehicle detection and enter/exit event types. - Text formatting changes
Applies changes discussed via Slack with members from WGSC. - Documentation updates to the descriptions of vehicle_detected (new) and enter_area (existing) events to distinguish between these. - Adds a new `enforcement.is_warning` field - Adds a new `enforcement.violations` array - Defines a new `Violations` object - Moves violation specific fields to the new violations array
- Previously was an array of Enforcement objects - Change aligns with a single enforcement object for each event, with the Enforcement object now containing an array of violations
…nt-object-changes Incorporate Enforcement updates from WGSC discussions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks to the OMF member WGSC and public WG participants for the work and clarity on this feature!
Adding the ability to handle enforcement related events in the CDS Curb Events and Metrics data. Based on work with LADOT in the SMART Grant Collab.
Resolves #173
Resolves #174