[FEATURE] Specify attribute type
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 321
- Forks
- 195
- PR merge metrics
- No merged PRs in 30d
Description
By default, dbf library is taking any number attributes and turning them into 3 decimal point floats.
For things like an id or count column, this doesn't make sense.
Would be useful to add an option for the user to specify the type they want associated with certain columns (in case you have one that *happens* to be all ints, and you also want to define it as int only)
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
No files, tests, or entry points are named. Start by locating the dbf attribute conversion logic and the public options passed to it, then inspect existing tests for numeric fields. Done means callers can specify a type for selected columns while existing automatic conversion remains supported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100