Closed palamago closed 5 years ago
Force editing the field type after processCsvData
should work after this PR is merged
This is an old topic but I have a similar question. My ID colum sometimes contains strings and not integer. The column is detected as String. Then processCsvData
puts NaN into the resulting object. Is there a way to force the type before calling processCsvData
?
@jakubmlacki you should do a transformation in the dataset before call processCsvData or edit the object -field type- after processCsvData. Try it and let me know.
Describe the bug I have four
integer
columns in my dataset. One of them is interpreted astimestamp
and I can't use it ascolorField
properly. I tried to force it beforeaddDataToMap
dispatch with no luck.To Reproduce Steps to reproduce the behavior:
qty2
is rendered astimestamp
instead ofinteger
Expected behavior The numbers are integers. A way to force the types programmatically, maybe?
Screenshots Fields
Desktop (please complete the following information):
Additional context Working on a React + Kepler 0.1.2 custom app. Kepler.gl is a beautiful piece of code. Thanks!