Ok so we have a dataset in one of our databases that periodically gets updated.
Every so often, we have new data that gets added AND some of the old data gets modified. (Sometimes we have loans that get modified and we need to keep the original 'value')
I am trying to create a snapshot of the original data - on a quarterly basis and feed that into the dataflow that is used to create visualizations
Am I supposed to be doing a recursive dataflow?
An example:
In this case loan_id 125 isn't new but it was modified and for the purposes of this dataflow, we don't want the new value ($126) but the original ($125)
What I am hoping to do is create a table that can keep track of all the original 'value' entries- on a quarterly basis.
I keep looking back towards a recursive data flow but the other problem is that when a loan gets modified, there aren't two entries of 'loan_ids' that match and the original record is lost.
What is the easiest way to capture an original record, store it in a database, and make sure the dataflow knows to use the "master file" and to never modify the old records?