-
Notifications
You must be signed in to change notification settings - Fork 0
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
[ENH] - Teams List / Look-up Table #109
Comments
I like the idea of creating a lookup table very much. It will eliminate user entry errors and makes data collection simpler. I think a Python script is a good approach. Another option is a webhook. See details at: https://community.esri.com/t5/arcgis-quickcapture-blog/data-enrichment-with-arcgis-quickcapture-and-integromat/ba-p/892203 |
How about using 'USERNAME' question type to then run a calculation for Team Name. For FEMA Task Forces, the username format is XXTF#. Saving the username to a field (can be null to prevent unnecessary pass through data) and then calculate the Team Name by taking the first 5 characters. Formatting could be made prettier by inserting the dash if that's preferred by the powers that be. This may cause a few issues for the state teams, but perhaps the lure of less items to fill out will help them standardize. This may scale better then having a list and might even be able to handle squad numbers when more FEMA team logins become available. Example: XXTF#_SQ# from that we can take |
@t-mahon If people adhere to the XXTF# format, I think your proposal would make the survey easier to complete and will reduce user-input errors. It will also be the easiest to maintain from a Survey123 perspective (no CSV table needed). I guess the issue is what happens if people do not adhere. |
@IsmaelInRedlands good idea on displaying/hiding the fields based on username schema compatibility. I mocked up a couple of tests, at the moment it looks like the test is case-sensitive, but other than that, it works. So this would mean we could define a username schema, it's easy if you use it, harder if you don't. If their AGOL username doesn't fit schema, then they're prompted to enter a team name. With the FEMA assets there's obviously greater control, the state and local assets are a bit more freewheeling. I know for FDNY, we adopted the name_FDNY_internalorg (tmahon_FDNY_IMT, admin_FDNY_SOCTF, etc) format. Based on how we found our names displayed in cooperative groups and we felt that agency identification was important. I'm sure other agencies have made their own determinations. Questions:
Probably should've tried this earlier in the v8 development, apologies for getting on the ball late. |
Team - I think @jdokemaps and I have a short-term workaround to reconcile S123 and QuickCapture, while also allowing for future development.
When new established teams emerge we can easily add them to QuickCapture without a breaking change. For Survey123, we will need to wait until a pause in the incident or new incident to add the new team names into the domain. We are going to test this out on 8b right now. |
Starting with 3.12, you can reference in Survey123 a CSV file stored in ArcGIS as an item. |
@IsmaelInRedlands this is awesome! We will look into this soon. For now we have a short-term solution for both Survey123 and QuickCapture (we think). |
@pjdohertygis and @jdokemaps that sounds like solid work around for the moment. The team_name_filter idea is a good one, and I don't think we have many team additions in the straight FEMA system. Obviously for the state teams that's more dynamic. Down the road if we can steer the naming conventions in a certain way that may be a help. @IsmaelInRedlands That's going to be a helpful feature. We might be using it in the coming weeks for a FDNY IMT mission. |
Here is a video that further explains the concept, although limited to Survey123 https://www.youtube.com/watch?t=293&v=EZRhNU_SPQY&feature=youtu.be |
Added to Planner for investigation. |
I tested the CSV list for S123 and it works as expected. I just followed Ismael's steps, though he's right you need Connect/ app version 3.12 or higher for this to work (I was using 3.13). The CSV downloads with the survey and automatically redownloads when you open the form if changes have been made to the CSV on AGOL. With this, you don't have to republish the whole survey if you want to add or remove team names. Since the sheet is downloaded as well, it works offline. |
Nice work @afackler!
|
For later consideration.... we may want to pull the Team Name field out and stop using domains altogether on the feature layer. Survey123
QuickCapture
Therefore, we could… stop using Team Name in Survey123 and only use Team Name Filter. We’d update the dropdown for the Team Name Filter question, but leave the domain blank. Because the dropdown will format the structure for us. This would reduce confusion over Team Name fields in the long run and reduce the need to update the feature layer each time we add a new team. We'd only update the dropdowns in the UI for QuickCapture and Survey123. Anyone opposed to this? |
@kstrube is making progress on this one - stay tuned! |
Let's make sure we add a Team Name field to segments layer as per #190 |
@kstrube one additional layer we will want to test is our interest survey - we can use the built-in Survey123 choice list from layer OR just stick with domains - discuss pros and cons of both. |
Which app?
All Apps
Describe requirements
Real-world Problem: New teams sign up for SARCOP throughout the year and also with great urgency during incidents in States that we have not responded to before (e.g. 2024 NM Wildfires). When Teams "join" they want to see their team name in SARCOP for accountability.
Technical Problem: Currently we are spending many hours per month maintaining domains across several feature layers (Sandbox waypoints, Sandbox RST, Sandbox tracklogs, Deployment waypoints, Deployment RST, Deployment Tracklogs, Team Fact Sheet, US&R Catalog, etc.). This requires editing json and prone to error.
Proposed Solution: We want one team list to rule them all, aka "The List". All apps should use this team list when entering data. There are a few approaches worth considering.
COA1: Controlled Input (Domainless)
COA2: Controlled Domain (Update Domains)
Alternatives
Continue to spend many hours maintaining several duplicate lists.... even with more staff this is prone to error.
Other Relevant Info
This issue has been open since 2020...
Priority impact
p1 - time sensitive
Impact
This has the potential to save the admin team hundreds of hours per year and also more quickly onboard new teams.
Original 2020 Post
Since we are using a secured system with usernames, shouldn't we be able to create a look-up table of usernames that indicates the team? With QuickCapture, we only have one Project User Input so we lose the option to fill-out the team name field (right now, we have it set to "Squad Number". In addition, Team Name must be manually entered in the Favorites for every Survey123 input (while they are revamping the workflow for this, it still seems redundant to have to manually enter something we should already know).
Here is a table we can use for testing: https://napsg.maps.arcgis.com/home/item.html?id=b88f39b77922455b8ad89abbe19cd92c
Requirements:
Constraints:
Options to explore:
ArcGIS Online Hosted Feature Layer Joins: https://doc.arcgis.com/en/arcgis-online/analyze/join-features.htm @afackler has some experience using these. Do we know if these are scalable (100,000 points)? Can they be used to filter data in Dashboards and Web Apps?
Arcade: This would be one impressive expression.... it would need to cover all 28 FEMA Teams and then countless SUSAR Teams. It might be difficult to keep up to date if the Teams list is dynamic?
Jupyter Notebook: Use Python "in the cloud" https://developers.arcgis.com/python/guide/using-the-jupyter-notebook-environment/
The text was updated successfully, but these errors were encountered: