> sales.csv
CustomerName InvoiceDate_Time InvoiceNo InvoiceValue
1 Hendricks, Eric 30-09-2015 1:00 PM 10 5000
2 Baker, Mark 30-09-2015 3:00 PM 11 12000
3 Catalano, Robert 01-10-2015 10:00 AM 12 25000
4 Eaton, Jeffrey 01-10-2015 4:00 PM 13 4000
5 Watanuki, Cathy 02-10-2015 9:00 AM 14 80000
6 Fier, Marilyn 02-10-2015 3:30 PM 15 18000
7 O'Brien, Donna 03-10-2015 1:30 PM 16 25000
8 Perez, Barney 03-10-2015 4:10 PM 17 20000
9 Fitzgerald, Jackie 04-10-2015 11:10 AM 18 6000
> StaffAttendance.csv
EmployeeName Designation AttendanceIn.DateTime AttendanceOut.DateTime
1 Page, Lisa Sales Rep 30-09-2015 6:50 AM 30-09-2015 2:00 PM
2 Taylor, Hector Manager 30-09-2015 7:00 AM 30-09-2015 5:00 PM
3 Dawson, Jonathan Sales Rep 30-09-2015 1:55 PM 30-09-2015 7:00 PM
4 Duran, Brian Sales Rep 01-10-2015 6:50 AM 01-10-2015 7:00 PM
5 Pratt, Erik Manager 01-10-2015 7:20 AM 01-10-2015 5:10 PM
6 Page, Lisa Sales Rep 02-10-2015 6:55 AM 02-10-2015 6:45 PM
7 Taylor, Hector Manager 02-10-2015 7:10 AM 02-10-2015 5:20 AM
8 Weber, Larry Sales Rep 03-10-2015 6:50 AM 03-10-2015 6:55 PM
9 Pratt, Erik Manager 04-10-2015 7:20 AM 04-10-2015 5:10 PM
10 Duran, Brian Sales Rep 04-10-2015 7:10 AM 04-10-2015 7:00 PM
As above I have two data tables(CSV files), which I want to combine using date & time. How can I combine using date & time, to find which employees worked for each sales made to customers?
How can I get the resultant table save as a CSV file?
Pls. state the R commands to be used in step by step. Also can I do this in tableau. What are the steps?