From 4348d82e6e5ef951ec2078b8cbca5f8d64100c93 Mon Sep 17 00:00:00 2001 From: Marko Samastur <markos@aptivate.org> Date: Thu, 18 Jun 2015 15:48:51 +0200 Subject: [PATCH] Example of a possible spreadsheet channel configuration --- .../example_spreadsheet_channel_config.json | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 django/website/chn_spreadsheet/example_spreadsheet_channel_config.json diff --git a/django/website/chn_spreadsheet/example_spreadsheet_channel_config.json b/django/website/chn_spreadsheet/example_spreadsheet_channel_config.json new file mode 100644 index 00000000..93bdd6ed --- /dev/null +++ b/django/website/chn_spreadsheet/example_spreadsheet_channel_config.json @@ -0,0 +1,35 @@ +{ + "name": "spreadsheet", + "sources": [ + { + "label": "geopoll", + "name": "Geopoll", + "format": "excel", + "type": "message", + "columns": [ + { + "name": "Province", + "type": "text", + "field": "message.location" + }, + { + "name": "CreatedDate", + "type": "date", + "field": "message.created" + }, + { + "name": "AgeGroup", + "type": "text", + "field": "message.age" + }, + { + "name": "QuestIO", + "type": "text", + "field": "message.content" + } + ], + "skip_header": 1, + "apply_tags": ["geopoll", "questions"] + } + ] +} -- GitLab