kobotoolbox / koboform

A Java/GWT based formbuilder (no longer supported). Replaced by dkobo.
2 stars 8 forks source link

KoBoForm allows custom values when importing CSV for cascading selections. #101

Open Dylan-Gillespie opened 11 years ago

Dylan-Gillespie commented 11 years ago

From mojote...@gmail.com on February 14, 2013 09:26:21

Summary: Users have requested the ability to create custom values when importing CSV's for Cascading selections. Right now, users have to do this manually one value at a time. Cascading selections might have hundreds of values. proposed use-case: Normally, the CSV is structured like this:

level_1_header,level_2_header,level_3_header,...,level_N_header level1data,level2data,level3data,...,leveNdata level1data,level2data,level3data,...,leveNdata

for example

Country,Province USA,Alabama USA,Alaska Nigeria, Lagos State Nigeria, Abuja

Users should be able to add a custom value for the levels. So, CSV structure would be like this:

Country, countryValue, Province, provinceValue USA, us, Alabama, al USA, us, Alaska, ak Nigeria, ng, Lagos State, ls Nigeria, ng, Abuja, aj additional comments: we'll have to talk about the implementation of this. is editing the CSV in this way the best way to go about it? Alternatively, this could be an after-action executed in the KoBoForm interface. Add an option to the Add Data menu for "Custom Values"

Original issue: http://code.google.com/p/kobo/issues/detail?id=100

Dylan-Gillespie commented 11 years ago

From mojote...@gmail.com on February 14, 2013 14:05:00

After talking with the team, it's better for users to just handle this in post processing, in SPSS or database analysis.