I have the following code:
using DLMReader
ds = filereader(logfile_name, types = [Float64, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int, Int],
header=[:time, :RTR, :addr, :Flags, :DLC, :d1, :d2, :d3, :d4, :d5, :d6, :d7, :d8], warn=0)
which used to work, but now I got a .csv file where the third column is hex encoded and now it fails.
How can I read hex encoded columns of a .csv file?
A solution with CSV.jl would also be fine with me, I could write a script fix_csv.jl that just converts the hex column into decimal integer values.
Example of a column of the .csv file I would be able to read:
6976.81202,1,5c1,2,8,67,91,35,0,0,0,0,0,2
The value “5c1” should be parsed as hex value into an integer column.
It looks as if “informats” could be used to fix this issue?
https://sl-solution.github.io/DLMReader.jl/stable/man/tutorial_basic/#Reading-a-csv-file