ycphs / openxlsx

openxlsx - a fast way to read and write complex xslx files
https://ycphs.github.io/openxlsx/
Other
221 stars 74 forks source link

Column type guessing #491

Open raffaem opened 3 weeks ago

raffaem commented 3 weeks ago

readxl::read_excel guesses column types based on the value of the first guess_max (an argument of the function) of its cells (reference)

This causes problems in importing when a numeric cell way down in my Excel file is silently converted into a boolean, without any warning of any sort.

This problem doesn't happen with openxlsx.

Can you specify in the documentation how openxlsx guesses column types?

My understanding is that Excel only provides cell types, not column types.