-
Notifications
You must be signed in to change notification settings - Fork 34
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
RFC: Re-implement the admin dashboard in plotly #802
Comments
@shankari thanks for including me in this discussion. I agree with you that it would benefit the community the most if there is an active maintainer of the admin dashboard project. Reusing the existing e-mission-server modules also sounds like an extremely good idea. I also don't see why we should add a third, or a fifth?, programming language to the e-mission stack. :)
This is also a big plus for me. |
@shankari an admin dashboard is definitely useful ; but more than a dashboard, a kind of "back-office" is needed. As you write, "we want to move beyond just displaying tables to actually supporting operations". This incites me to favour python wrt R. But it depends foremost on the people and community who are going to actually code the dashboard! |
I also agree with what was mentioned by @asiripanich To me, it seems very smart to build tools on the same SDK for the future of the project. Otherwise, changes like edits to the database structure will require many duplicated adaptations, instead of just one to the corresponding python method. Now, as far as an admin dashboard goes, I'm seeing it resolving three kinds of problems:
I believe the distinction is important in two cases:
|
@TTalex Thanks for the insightful comments. I have been busy with the label screen improvements and the "count every trip" project and random program communications and have not had the chance to respond. But I have been thinking about it in the background. First, to respond to your comments about the use cases:
Second, your idea about minimizing the use of GPS traces in emdash was very interesting. We have now been working with program admins both with and without emdash and their requests for location data are all across the map[1].
Whenever are these differing requirements, the obvious solution seems to be customization!
Since the NREL hosted version of OpenPATH is envisioned as a customizable tool for programs to collect data, each program will specify the flavor of the admin dashboard that they would like to see. This would allow us to get a real world sense of which flavors are really needed and potentially drop support for the less anonymous versions later. Thoughts? @TTalex @PatGendre @asiripanich [1] The CEO program admins originally had access to emdash, including the participant and trip tables. However, we have now turned it off due to resource constraints. In the absence of an admin dashboard, I have been emailing requested data to the NREL-hosted programs such as Durham.
|
@asiripanich indicated that the community might be able to build out this dashboard, leaving me free to focus on the core functionality, including API updates, sensing improvements, pipeline debugging/scalability, UI improvements etc. Is this something that the community is willing to commit to? You would need to commit to it, since it is a deliverable that the NREL OpenPATH team has committed to our DOE sponsor. |
Quick updates:
|
Sounds good to me ! I also agree with the order, starting with anonymized and especially back office operations. After all, you need a working service before you can compute pretty stats 😄 . In “aggregate spatio-temporal”, you mentioned “mode-specific counts along roadways”, which is a great idea. This is a feature that has been requested on multiple occasions by public actors here in France. So I am looking forward to seeing how this is implemented, because it could be a technological feat to do it well. I'll ask around to see if I can gather more input from the "field". But it shouldn't differ too much from what was said in this thread. |
@TTalex the NREL team has been working on map matching of the TSDC data, primarily for drivetrain analysis, for a while and have recently open sourced their work https://github.com/NREL/mappymatch It has only currently been tested on car trips and with limited ground truth. They are excited to expand it to support other modes as well and to evaluate against MobilityNet. Not sure what the exact ETA is but we have set aside some budget for this fiscal year, which will end in Sept 2023. |
@shankari Also, the last couple of weeks a colleague has been busy building a more complete dashboard based on plotly that integrates with the NGSI-LD interface. It should be ready in the next couple of days. Both is open-source, so this might provide some starting points for the OpenPath dashboard. |
Mapping-oriented use case from a deployer:
Sounds like this is a request for flavor (2) "includes aggregate spatio-temporal" from |
I have generated some sample visualizations, and I actually think these "aggregate spatio-temporal" metrics can even be fully public. I will share them at the meeting on Monday to get feedback and then potentially incorporate them as part of the "public" dashboard. They will be non-zoomable, and will only be displayed if we have > k number of users, so the admin dashboard can still support additional functionality. Note that, with appropriately small marker sizes, we can do "map matching" even without implementing a formal map matching algorithm. |
@asiripanich @lgharib @TTalex @jf87 (and @PatGendre in case you are interested), this is the first of two high priority RFCs around fairly fundamental changes to the NREL OpenPATH technology stack.
We haven't had much community involvement so far around big decisions, and I wanted to see if we could change that 😄
As part of the new vision for NREL OpenPATH as a customizable, easy to use system for other programs or agencies to use, we want to enable an admin dashboard similar to https://github.com/asiripanich/emdash
This should significantly lower the support burden on the platform sysadmin (NREL in this case), since the program admins can perform many management tasks themselves. It should also make it easy for the program admins since they can see the results in real time, and don't need to email the platform admin to send out push notifications etc.
However, I am thinking of switching from R Shiny to Plotly. The main reasons are:
On the other hand:
@asiripanich this is really a question for you since you created the original dashboard. But others, especially @TTalex since you work with the data science folks at cozy might also weigh in.
Should we continue developing the existing R/Shiny admin dashboard or switch to python-based plotly dash?
The text was updated successfully, but these errors were encountered: