-
-
Notifications
You must be signed in to change notification settings - Fork 181
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
Custom Data Exports #2881
Comments
As per our call yesterday with MapKibera for the KoBo/OSM integration, here is the initial proposal for their main request: custom data exports / sharing a subset of columns. As you can see here I updated the interface slightly, hiding some options under 'advanced' so regular and casual users seeking to export everything as usual don't find it overwhelming. The main ideas we covered are there, though this is just the first idea and we might need to move things around a bit to make sure it makes sense. Hopefully this could give us a general idea so we can work on a timeline, estimate, etc. You should also be able to click through the prototype yourself using this link: https://www.figma.com/proto/AzJPYVjf2CDBk1PGLv62sC/Project-Downloads?node-id=9%3A3&viewport=428%2C870%2C0.27639657258987427&scaling=min-zoom |
@Ig-Rebollo I really like this approach. 3 suggestions and 1 question:
Q: How does a user delete a custom export? |
@tinok thanks for the comments.
Q: Well, they don't. I didn't think they needed to delete them. It would only be stored for each project, right? So I'm guessing you wouldn't have a big list... but we can add that option as well. |
For "Don't split select_multiple questions", could we change the label to "Split select_multiple questions" and have it be checked by default? For what it's worth, I think the behind-the-scenes export machinery (formpack) supports three ways of handling
The only one of these that KPI currently offers is (3). I believe that the old KoBoCAT double-negative "DONT [sic] split select multiple choice answers into separate columns" (please, let's not do this again 🙏) effectively presents a choice between (3) when unchecked and (1) when checked. I don't know if anyone would have a use for (2), but it should already work on the back-end if want to make it available. |
Thanks for the comments @jnm . From my point of view doesn't look like there is a meaningful need for (2), so leaving the check/uncheck box for options (1) and (3) still seems like the best way to go. This is a question we could ask users for input in the forum though. In case we had to provide the 3 options, the UI would get a bit trickier. @tinok I also updated the animation and prototype with some of the earlier comments: You should be able to see the updated prototype following the earlier link |
@Ig-Rebollo To be sure, what @jnm meant is that we have more than an on/off available as options. The current default is in fact (3), while some users may prefer to have only (1) or (2). For example, for our own research we never use the option from (1) but only use (2), so having both isn't necessary. The question then would be whether this new setting would be a choice between (1) and (2) and not (1) and (3). |
@tinok understood. I guess what I'm trying to say is that from the UI perspective it doesn't really matter whether we go with 'between (1) and (3)' or 'between (2) and (3)'. If there are any doubts, we could ask users (specifically those interested in this feature) to get a better idea. At this stage what I'm interested to know is if we need to provide 2 options (on/off) or three options, in which case maybe a dropdown would be a better alternative... even though it would be complicated to explain in a clear, intuitive way. |
@Ig-Rebollo I personally think we should have all three options available. A dropdown could accommodate all three without needing more space than a single checkbox. Option (3), which is currently our only available option for users, is the least useful, but people may have built workflows around having this available, so we can't do away with it. We could write to our user testers to see whether (1) or (2) should be the default. But for now let's include this element in Figma so the UI development can go ahead. |
Thanks for your comments @tinok (both here and in the Figma file). I made a quick update to show the changes in the mockup below. I think that should be enough for implementation but do let me know if you want me to update the whole prototype. |
I think this looks good, thanks. @joshuaberetta please check the slightly updated UI design ^ |
@tinok, I think @magicznyleszek will be implementing the FE changes, I'll be handling the BE 👍 |
@magicznyleszek, @joshuaberetta, could we handle #2517 here as well, i.e. include
|
I wonder whether we should not treat the |
@tinok @Ig-Rebollo I have a question What is the user input for in "Include data from all |
@magicznyleszek sorry I can see how it might be confusing. I think that is not an input but rather an indicator. It tells you the number of versions, but you can't type and change the number. It would probably be better to style it like other indicators, such as the number of deployed, draft, and archived projects. Very round corners, light grey fill and no border. However seeing now your comment you make me hesitate. Maybe Tino's original suggestion was meant to do what you just said (being able to select the number of versions I want data from, such as the last 5 from a total of 20). If that is the case, we would leave it as is but remove the 'all' right before the input box and add a 'latest' before 'versions'. @tinok can you clarify this just to be sure? |
@Ig-Rebollo @magicznyleszek let's not attempt to include a subset of the versions, i.e. let's keep it as either the latest version or all versions. It's actually going to be a bit weird to offer the "Custom selection export" along with "Include data from all n versions", because the list of questions shown will only draw from the most recent version of the form. Of course, we can improve that later, but it's not a trivial thing to do. |
@jnm todo: propose basic UI for legacy exports |
Goals
Background
There are columns that are irrelevant for OSM, both as part of the survey and as metadata (start, username, deviceid). For OSM-compatible output, exports should always drop the metadata columns and have a way to filter out questions/columns that are not meant to be imported, as well as a toggle to exclude the select_multiple split columns.
In other circumstances there is a need to share data publicly with information that is non-sensitive, while creating separate data exports with sensitive data.
User stories
As a survey administrator, I’d like to pre-defined data exports that I or my colleagues can export regularly but that do not contain sensitive data in order to protect our beneficiaries.
As a survey administrator, I’d like to create two data sets with one form, some of the data being sensitive and other data being for OSM and public. I need to retain in each export the same ID numbers so that we can link public data back to private data when needed. In other situations I need to simply separate OSM data from other data which isn’t appropriate for OSM from my survey (even though it may not be sensitive). A way to mark with questions or columns contain which type of data for export would help very much.
The text was updated successfully, but these errors were encountered: