I have imported data by read function
t_2020_10 <- read.csv("2020_10.csv")
and I want to convert 2 columns from integer to character. I've tried this:
t_2020_10$start_station_id <- as.character(t_2020_10$start_station_id)
However, it gave me this error message:
Error in t_2020_10$start_station_id : $ operator is invalid for atomic vectors
I'm sure the code is correct? could you please advise? and how can I convert data structure of multiple columns at once?
TIA