Given a PREDICTS database extract, loaded as an R dataframe, save it to disk and write the aux JSON file (*.aux.json), which stores metadata for the object. This includes the release years, the timestamp of when it was saved, some dimensions, and the SHA-256 hash of the dataframe (computed with 'digest').
.WritePredictsFileCache(df, file_predicts, aux_file_predicts, extract)TRUE invisibly.
Dataframe to be written to disk
Character, path to the desired file - should be an RDS file.
Character, path to where the auxiliary file should be saved to disk.
Numeric vector of release years to be saved.