OpenEnergyPlatform / OpenEnergyPlatform/omi

When describing data with metadata csv delimiter is fixed to ";"

Open
#129 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
8
Forks
8
PR merge metrics
No merged PRs in 30d

Description

Description of the issue

Here we hardcode the column delimiter to a ";" this might not always be the case as some want to use a ",".

Ideas of solution

Move the delimiter option to parameter to let the user decide what they want to use. Or use the CsvControl from frictionless.

Workflow checklist

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in src/omi/inspection.py at line 61, where the CSV column delimiter is hardcoded to ";". Trace how metadata is described and decide whether the delimiter should become a user parameter or use frictionless CsvControl. Done means comma- and semicolon-delimited input can be handled according to the selected approach.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.