IDEMSInternational / rapidpro-flow-toolkit

Toolkit for using spreadsheets to create and modify RapidPro flows
GNU Lesser General Public License v2.1
3 stars 1 forks source link

Refactor CSV sheet reader to manage a directory of CSV files #108

Closed istride closed 7 months ago

istride commented 7 months ago

It simplifies things a lot to define a CSV workbook to be a directory containing CSV files.

workbook
├── content_index.csv
├── sheet1.csv
└── sheet2.csv

This should be considered the same as an XLSX file or Google Sheets document with three sheets/tabs. A CSV reader can be identified by its base directory, so two CSV readers with the same base directory are identical.