codeforkansascity / civic-project-mapping

Connecting citizens and organizers.
http://codeforkansascity.github.io/civic-project-mapping
Other
4 stars 10 forks source link

Make it easier to change the Question Labels #52

Open zmon opened 9 years ago

zmon commented 9 years ago

Since the Question Labels change the column headings in the Spread Sheet, and the column headings are used as the index to the data we get... Every time a column name is changed we have to go through the JS code and find all occurrences and change it. We need to internal names and map the column names to them. Mose likely done with a table and a function that will copy the input data to a new array using the internal names.