I have two tables that must be updated one in the other
Balance table:

Transaction table:

Desired results:


I'm trying to use a loop in R.
I have two tables that must be updated one in the other
Balance table:

Transaction table:

Desired results:


I'm trying to use a loop in R.
 
    
    