rapidpro / ureport

Dashboard module for UReport working against RapidPro data
GNU Affero General Public License v3.0
23 stars 35 forks source link

Map Update - Ureport Project #1172

Open evandrolohmann opened 8 months ago

evandrolohmann commented 8 months ago

Dear Team,

We would like to share a situation where your assistance is highly appreciated. Weni is hosting one of the Ureport Projects for an Unicef Country office, where they have identified the need to update the current map/region within the Ureport Website. However, based on the logic of the platform, we understand that, once the maps are updated in the production environment,the metrics indicating the amount of answers from a previous region would not be available for polls lauched prior to this update.

Given this context we request your assistance to interpret this demand and guide us if there is a possibility to update the maps in the live workspace and after that reassess/resyncronize the results from the previous polls so that the metrics are not lost during this process.

In case you need any further details I remain available to discuss this situation during a meeting where we can assess the best course of action for this scenario.

Looking forward to your reply,

Weni Team.

evandrolohmann commented 7 months ago

@ericnewcomer @norkans7 Any thoughts on this?

Kind regards

norkans7 commented 7 months ago

I do not think there will be any issue updating the locations maps, the locations data is maintained on RapidPro side and then U-Report will sync that.

The location objects on U-Report will be update using the OSM_ID matching to update the name.

And yes, you can always resync the stats for any poll using https://github.com/rapidpro/ureport/blob/1d63a1e9af076ff7df626908182068082ec7a5e3/ureport/polls/models.py#L314