unicef / etools-partner-reporting-portal

Other
5 stars 11 forks source link

Be able to export a CSV/xls with data for multiple indicator reports in it #88

Closed chachra closed 7 years ago

chachra commented 7 years ago

Depends on format in #87.

After importing data into a progress report or indicators in cluster reporting user can make more changes before submitting.

Any filtering done in https://projects.invisionapp.com/share/EDBIM0Y8M#/screens/243476913 should reflect on exporting queryset.

Any imported indicator location data belonging to submitted or accepted IR will be ignored.

** Import validation: if partner is importing, only import reports where Partner ID == user{Partner id}

kasfaw commented 7 years ago

finalizing specifications here: https://docs.google.com/spreadsheets/d/1JhM7yqcSJtRE6iGJGSuObEOadhk6Y0r6RRQupee4mXQ/edit#gid=0

kasfaw commented 7 years ago

@chachra @n1207n Done with specification. Will send to UNICEF shortly. Major open question is how we help (for analysis) associate parent-child locations. What do you guys think of having a uniform lookup tab at the end? I put an example in last tab.

kasfaw commented 7 years ago

@chachra do we plan to provide a an XML view of this API too? Jean said running a powerquery formula from an XML file is very powerful for analysis.

n1207n commented 7 years ago

Created a branch and will add xlsx python parser library to prepare the implementation.

kasfaw commented 7 years ago

@dfryta please review the export/import specification here (ignore the 3rd tab): https://docs.google.com/spreadsheets/d/1JhM7yqcSJtRE6iGJGSuObEOadhk6Y0r6RRQupee4mXQ/edit#gid=0

a few guiding points:

dfryta commented 7 years ago

Thanks @kasfaw.

Let me check this out and I will back to you with list of questions. At this moment please let me know what difference between row 3 (example: #sector+cluster) and row 9 (red one). From you information red one holds field name description. So what is row 3?

And is it possible to get template excel file as it should looks like after export with some fake data? (other words exactly how it should looks like, removing all additional information).

Thanks!

kasfaw commented 7 years ago

@dfryta row 3 is static similar to row 1. row 9 is a reference I created for you so you can trace each column back to specific models (row 9 is not meant to be in the export).

Rows 4-6 are fake data but will add more tomorrow for variety.

kasfaw commented 7 years ago

@dfryta row 3 is static (similar to row 1). Row 9 is a reference I created so you can trace each column to its respective data model (row 9 should not be included in exports).

Row 4-6 are fake data but will add more tomorrow for variety.

dfryta commented 7 years ago

@kasfaw note to our meeting today. There are plenty questions and issue that we need resolve before moving forward: