CriusDev icon indicating copy to clipboard operation
CriusDev copied to clipboard

Suggested enhancements: Timestamp + dump to CSV

Open Wildweasel24 opened this issue 11 years ago • 1 comments

Would be good to create a timestamp to each record to record data freshness. As for example systemcostindex is only cached hourly, to the hour is sufficient.

Along lines of:

var timestamp = ("" + Utilities.formatDate(new Date(), "GMT", "yyyy-MM-dd:hh:")+ "00Z");

Secondly, would also be good to have dump to CSV option on each update, will allow history to be captured for analytics. Naming could be "yyyy-mm-dd hh00 systemcostindex.csv" etc.

Wildweasel24 avatar Jul 26 '14 16:07 Wildweasel24

@K162space has been working on some cron utilities to save off CREST data to a database. The js utility isn't going to be well suited for that change. I will put it on the todo list

lockefox avatar Jul 26 '14 17:07 lockefox