mort_geral/script/save_rds.R

17 lines
479 B
R

## date: "2021-04-15"
## Previously, the data was saved as RDS to reduce the weight (of data format)
###################################################
## data <- fread("./data/ETLSIM.DORES_2010.csv") ##
## ##
## saveRDS(data, "ETLSIM.DORES_2010.rds") ##
###################################################
## After that, you can read each file
library(data.table)
d <- readRDS("../data/ETLSIM.DORES_2010.rds")
setDT(d)