I have 2 data frames as given below. I want to append the 4th column of DS2 in DS1 based on the look up value of column 2 and column 3.
DS1
Entity  Service Type    Service Description Unit Price Incurred Volume    Total Service Charge in USD 
Entity1 WIRE & OTHER FUNDS TRNSF SVCS   CPO GP CUST MNT TEMP STORAGE    0.15    1024    153.6
Entity1 PAYMENT TRANSACTIONS    WIRE-HVC-LOCAL PAYMENT STP DR SHA   5.62    459 2579.58
Entity1 PAYMENT TRANSACTIONS    WIRE-HVC-LOCAL PAYMENT STP DR OUR   8.27    88  727.76
Entity1 PAYMENT TRANSACTIONS    FOREIGN WIRE PAYMENT STP DR SHA 19  40  760
DS2
Entity  Service Type    Service Description Unit Price Agreed
Entity1 WIRE & OTHER FUNDS TRNSF SVCS   CPO GP CUST MNT TEMP STORAGE    0.15
Entity1 PAYMENT TRANSACTIONS    WIRE-HVC-LOCAL PAYMENT STP DR SHA   5.62
Entity1 PAYMENT TRANSACTIONS    WIRE-HVC-LOCAL PAYMENT STP DR OUR   8.27
Entity1 PAYMENT TRANSACTIONS    FOREIGN WIRE PAYMENT STP DR SHA 15
I tried bcagd <- join(ctse1,bcagd, by = "Service Type")but it is throwing an error unused argument. I have many line in the datasets. Please suggest the correct function to use.
