OpenEnergyPlatform / OpenEnergyPlatform/omi
When describing data with metadata csv delimiter is fixed to ";"
Open
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
- I am aware of the workflow in CONTRIBUTING.md
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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