I have a dataset with Medical appointments taken from the Kaggle website. The dataset I am using contains 110527 medical appointments and their 14 associated variables ( PatientId, AppointmentID, Gender, ScheduledDay, AppointmentDay, Age, Neighbourhood, Scholarship, Hypertension, Diabetes, Alcoholism, Handcap, SMS_received, No-show ). The original analysis was done using Python and it states that there is no duplicate value in the data. I am trying to use SAS to find duplicate entries in the dataset and confirm the claim in the original analysis i.e there is no duplicate entry because this is appointment data that may have multiple entries for the same individual but on different dates. I tried using the Proc Sort procedure proc sort data=eda_project1 nodupkey dupeout=dupes; by patientid; run; but there are so many entries sorted out in dupes. Can someone guide me on how I can confirm if there are any duplicates or not?
... View more