modilabs/formhub — Issue #138: Importing Cleaned Data
Author: pld
Created: 2012-02-03 19:23:17+00:00
State: open

Build a method to import cleaned data. Requires a data representation that is separate from the original uploaded data.

Process outline:

1. export current CSV (like normal)
* mark existing rows as 'cleaning'
* [in external tool user changes data]
* user can remove and updates rows
* user cannot remove column or change columns
* user must keep format consistent with survey
* user imports cleaned data
* imported data is validated against survey requirements
* if valid
* remove all rows marked 'cleaning'
* add uploaded data
* if invalid
* reject with error message and do nothing