Closed ChristopherMarais closed 2 months ago
The main difference between the two:
saveRDS(object = wq_2024, file = "wq_2024.rds")
and then wq <- readRDS(file = "wq_2024.rds")
save(wq_2023, wq_2024, file = "wq_23_24.Rdata")
. But then when you load in in the data, load("wq_23_24.Rdata")
, you will get the objects wq_2023
and wq_2024
again - you can't change the name.
Decision: @ChristopherMarais @palmer-cr Save as a .Rds when you are saving a single dataframe, which is what we will mostly do. Only save as .Rdata for very specific reasons.
Will create a new issue to update the current dev version to read in .Rds
Keeping both types of files might be redundant. Let's pick one for the final version to save space.