I want to compare a settlement's trade income details between turns but its hard to keep track of the changes once i go to another turn.

Is there a way i can build a mod that can dump those details say in a dump file or a text file?