I have 4 CSV files. I am Able to merge all 4 of them but there is a problem with it.
This is one file named services.csv
ServiceID Service
1 General Practitioner
2 Pathology
3 Radiology
4 Psychiatry
5 Chiropratic
and the other file ("I have named it test.csv")
ClinicServiceID ClinicID ServiceID Name Suburb State Postcode Email Lat Lon
1 1 1 Hurstville Clinic Hurstville NSW 1493 [email protected] -33.975869 151.088939
2 1 2 Hurstville Clinic Hurstville NSW 1493 [email protected] -33.975869 151.088939
3 2 1 Sydney Centre Clinic Sydney NSW 2000 [email protected] -33.867139 151.207114
4 2 2 Sydney Centre Clinic Sydney NSW 2000 [email protected] -33.867139 151.207114
5 2 3 Sydney Centre Clinic Sydney NSW 2000 [email protected] -33.867139 151.207114
Now I have to add Service Column from the Service.csv file according to the ServiceID in the test file.
I am able to merge all the files but I don't know how to perform the above operation.
Things that I Have to achieve:
1) Add Service column into the test.csv file
2) make the entries in the Service Column using the Service.csv file data.
Can anyone please help me. I don't know how to resolve this problem.