[Bug] Not preserving zero padding
- Dominant language
- TypeScript
- Stars
- 12k
- Forks
- 2k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 66
Description
**Describe the bug**
Type analysis in kepler.gl doesn't preserve zero padded fields, which are sometimes important, such as zip codes. Also, the type analyzer sometimes detects things as time, perhaps based on the magnitude of the number, but this may or may not be right depending on specifics of the data.
**To Reproduce**
Use the following CSV file, containing an integer, a census block group ID, and a zero padded integer:
```
a,b,d
36,360610199004,06
```
I get the fields analyzed as `int`, `time`, and `int`.
**Expected behavior**
The second field might be a timestamp, unclear from this example.
The last field is analyzed as a string.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with kepler.gl's type analysis using the CSV example in this issue and compare how the fields `36`, `360610199004`, and `06` are classified. Done means the zero-padded `06` is analyzed as a string; the expected classification of the census block group ID remains unresolved in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100