openstate / openstate/stembureaus

ja/nee-velden omzetten naar boolean (cli.py)?

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

Nobody has claimed this yet.

stembureaus open data standaard
Dominant language
Python
Stars
8
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Zie de add_new_datastore functie in cli.py. Het veldtype zou dan bool. Kan deze leeg gelaten worden als een veld optioneel is?

Contributor guide

No contributing guide indexed for this repository

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 cli.py at the add_new_datastore function and inspect how yes/no fields are currently defined. Change the field type to bool and determine how optional fields should represent an empty value. Done means the fields accept boolean values while preserving the intended optional-field behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.