OpenEnergyPlatform/oeplatform

OEP Data Upload Wizard: Start of csv structure

Opened this issue · 0 comments

Description of the issue

Usually csv-files have a header line, which provides column headers. These column headers could be a starting point to create the database structure. Additionally, a first row could be included with some demo data, to get a first guessing which data type might be appropriate.

Ideas of solution

I wrote a small prototyp, which prepares the table (in JavaScript) and finally creates it using the OEP API. I'll clean that up and add the link here. Maybe there's some code which is reusable if that's an idea for you.

for code see: https://github.com/ebroda/oep-table-csv-kickstart

Workflow checklist