I am trying to use write.csv to export a dataframe.
One of the columns in the dataframe are numbers representing unique identifiers for satellite lidar shots. I have used paste0(shot_number) to convert the data type from a number to a character.
Now when I export the data to csv, the columns data type has changed back to a number and is represented in scientific notation. When I use paste0() again, the numbers are no longer unique.
My question is as follows:
How can I export the dataframe as a csv while maintaining the character datatype of the shot number ID?