Search found 2 matches

by pilp
Sun Feb 23, 2025 8:02 pm
Forum: Modding help
Topic: How to export production stats to csv/json from saves?
Replies: 5
Views: 388

Re: How to export production stats to csv/json from saves?

Thank you both for you answers.


I made the following command (to be run in the console ):


Thank you for your code and the file! :D


If you wanted to get the Historical data for an existing Save you would need to iterate through the LuaFlowStatistics using get_flow_count for your chosen ...
by pilp
Sun Feb 23, 2025 5:09 pm
Forum: Modding help
Topic: How to export production stats to csv/json from saves?
Replies: 5
Views: 388

How to export production stats to csv/json from saves?

For one of my uni subjects i was tasked to find some data in a time series and do something with them in Py (to learn Py). Normally people would get some publicly available data, but i thought of using production statistics from one of my vanilla Factorio save.

Unfortunately i dont know how to ...

Go to advanced search