Hi STATA Community!

I have a question regarding panel data [this is my first time using the command]. I have a dataset which is all within one year. The date variable is properly formatted and I've grouped the individual ID #s to serve as the "panel variable."

Where I'm running into a problem is defining the dataset as panel data. It returns the error: r(451): Repeated time values within panel

I understand the nature of the error, as one 'person' (ID#s) could visit the same facility more than once in one day (time variable).

Is there any way around this? There is a variable for visits, which would uniquely identify visits within a day per person, but this variable does not correspond to the date variable, making a time-series analysis unfruitful.

I'd appreciate any thoughts the community might have, and thank you!

PCF