Closed durraniu closed 1 year ago
Thanks for catching this. We are wrapping the polish_names()
function from Cleaner.jl package. I would suggest filing an issue there: https://github.com/TheRoniOne/Cleaner.jl/tree/master
We can certainly try to re-implement this from scratch or modifying that code but would check and see if they are interested to fix. Thanks.
Thank you.
I asked on the Cleaner.jl repository. We may even be able to help fix this but want to make sure the fix lives in Cleaner.jl if possible.
Per the author, the Cleaner.jl issue is fixed! There's a patch released on the registry.
I just need to update the dependency version for Cleaner within TidierData for this to work. Will get that done shortly.
I'll leave this issue open until that's done on our end.
I realized there is a dependency mismatch between DataFrames.jl v1.5+ (which TidierData.jl depends on) and the latest version of Cleaner.jl.
I need to wait for this issue to be resolved (https://github.com/TheRoniOne/Cleaner.jl/issues/6) before I can update TidierData.jl to take advantage of this.
This is now fixed in Cleaner.jl v1.0.3, which is now on the registry. Closing the issue.
If you want to see it take effect, feel free to update the Cleaner package (and make sure TidierData is also up-to-date). I'm going to leave TidierData as compatible with older versions of Cleaner just to allow users flexibility.
Three column names in my dataframe are
Vehicle_ID
,Frame_ID
, andLane_ID
. When I use@clean_names
, other columns are formatted just like R'sjanitor::clean_names()
, but the aforementioned columns are formatted asvehicle_i_d
,frame_i_d
, andlane_i_d
. The data I read is in a parquet file. I used the following code: