Hi all, long-time follower and this is the first time I can't find the answer to code in the prior posts. I'm sorry if my posting etiquette is lacking.
I have data for healthcare providers at several facilities and I need to know descriptive data about how many days providers work in a row on the same team (particularly how many days in a row providers work on average). Providers only work on one team at one facility per day but they could go to a different team (intra-facility or not) on the very next day.
I have facility ID, date (%td), team ID, provider name. It would look something like:
I need to compare how many days providers work on the same team at the same facility in a row. Any thoughts?
Thank you for your time and consideration.
I have data for healthcare providers at several facilities and I need to know descriptive data about how many days providers work in a row on the same team (particularly how many days in a row providers work on average). Providers only work on one team at one facility per day but they could go to a different team (intra-facility or not) on the very next day.
I have facility ID, date (%td), team ID, provider name. It would look something like:
Facility | Census_DT | Team | Provider_nm |
1 | 8/15/2023 | 1 | John |
1 | 8/16/2023 | 1 | John |
2 | 9/21/2023 | 3 | John |
2 | 9/22/2023 | 3 | John |
2 | 9/23/2023 | 3 | John |
1 | 7/1/2023 | 4 | Mike |
1 | 7/2/2023 | 4 | Mike |
1 | 7/3/2023 | 4 | Mike |
1 | 7/4/2023 | 4 | Mike |
Thank you for your time and consideration.
Comment