Skip to content
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

Add column to ecocounter.flows to identify the type of device the flow is counting #1128

Open
gabrielwol opened this issue Jan 6, 2025 · 2 comments

Comments

@gabrielwol
Copy link
Collaborator

gabrielwol commented Jan 6, 2025

Could a column be added to ecocounter.flows to identify the type of device the flow is counting: scooter , bicycle, or combined micromobility?
So far the only equipment with separate scooter and bicycle flows is "Bloor St W, East of Old Mill Trail", site_id 300044518 and 300044519.

Originally posted by @A-DUYVESTYN in #1085 (comment)

@A-DUYVESTYN
Copy link

Similar to the device type, we also require an un-ambiguous way to define if a flow_id is contra or main flow. Column flow_direction is not standardized, and direction_main is not reliable, or null. Hoping there is a field from the API that can be used to define this.

For example see flow_id 353315312 YorkU - Keele St, North of Four Winds Dr
This appears to be contraflow based on the volumes, however the flow_direction southbound (IN) matches direction_main Southbound, suggesting it is a main flow.

@gabrielwol
Copy link
Collaborator Author

Looks like 'userType': 13 is a way to identify scooter flows from the API.

For contra flow it looks like we'll need to clean that up ourselves 😞 The IN/OUT designations are in the API but as you said they're not very accurate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants