diff --git a/data/factorsSPGMI.rda b/data/factorsSPGMI.rda index ba047f0a..4b68482b 100644 --- a/data/factorsSPGMI.rda +++ b/data/factorsSPGMI.rda @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4302e12c2522bcb8d4dd122aae20432848839554822a9882e39dd8f5b20bb9ff -size 3993824 +oid sha256:a11f9b2ac11b96e993d521c331c73a85f1f1b7e173ce25eb8d8890575fee2f40 +size 3993060 diff --git a/data/stocksCRSP.rda b/data/stocksCRSP.rda index 0f4d91be..b1e91083 100644 --- a/data/stocksCRSP.rda +++ b/data/stocksCRSP.rda @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6ea6c0834eea68f480946591e96099e22f89ae7776ea6471a558f6084a01d154 -size 946632 +oid sha256:1a37dd7ffac9820ceed6601135e776edcf98e0c77e08fc8214bed5391b00e5b9 +size 940896 diff --git a/sandbox/Vestcor Data Cleaning/spinnj_issue86.R b/sandbox/Vestcor Data Cleaning/spinnj_issue86.R index d86e21e9..708ce1a9 100644 --- a/sandbox/Vestcor Data Cleaning/spinnj_issue86.R +++ b/sandbox/Vestcor Data Cleaning/spinnj_issue86.R @@ -37,8 +37,9 @@ stocksCRSP_tmp$Sector <- sector_table$GoodSectors[match(stocksCRSP_tmp$Sector,se unique(factorsSPGMI_tmp$Sector) # contains 11 sectors with no dupes unique(stocksCRSP_tmp$Sector) # contains 11 sectors with no dupes -# save data (not yet run) -#factorsSPGMI <- factorsSPGMI_tmp -#stocksCRSP <- stocksCRSP_tmp -#save(factorsSPGMI,file="./data/factorsSPGMI.rda") -#save(stocksCRSP,file="./data/stocksCRSP.rda") +# save data +factorsSPGMI <- factorsSPGMI_tmp +stocksCRSP <- stocksCRSP_tmp +# added compression args, using xz algorithm of the highest level +save(factorsSPGMI, file="./data/factorsSPGMI.rda", compress = "xz", compression_level = 9) +save(stocksCRSP, file="./data/stocksCRSP.rda", compress = "xz", compression_level = 9)