I have two data sets (freight and volume).
Columns in Freight (Origin port, Destination Port, Equipment size, Volume)
Columns in Volume (Origin port, Equipment size, Destination Port 1, Destination Port 2, Destination Port 3)
Now I need the volume in 'Freight dataset' to be filled out if it matches all the conditions.
I want to solve this through a loop, any ideas (beginner at R).
Thanks for the help!