Update collect_data()
to not bind all files into single giant .csv
#25
Labels
🪄 enhancement
New functionality or feature request
artis-model/R/collect_data.R
Lines 40 to 43 in ca9cbf4
This function currently duplicates all consumption and trade data in AWS s3 bucket by combining all files into "all_hs_all_years". We do not need to do this on AWS and increases our I/O by many GB.
The code is slow with
bind_rows()
and requires a large amount of local memory - could replace with:The text was updated successfully, but these errors were encountered: