Converting columns to date and numeric format but I get NA conversion error

Hi @antik731 , if you put a reproducible example is better for get a good response.
Like you have larger data set if you put a few rows is well.

See this:

Maybe a option is set the format in all_trips$date column and next try the other codes. lubridate library could help in other way.