I am trying to create an animated process map that gives us insight on if ER episodes that begin at a certain time of the day tend to pile up based on staffing patterns. In other words, we want to see if overnight episodes pile up in the morning.
To do this, we thought, in our data, to create a flag for when the episode starts and color-code the bubble in animate_process accordingly.
Unfortunately, it seems like the process map might go out-of-sync over time (it's also entirely possible there is a detail of using animate_process that I've missed). I think the time-of-day labels are correct, but the timeline might become inaccurate over time? Or timezones could be at play?
Can you take a look at the code below that I wrote based on the patients dataset?
That patient ids that stuck out to me in this test dataset were 243 and 244. Are we missing something?
I am trying to create an animated process map that gives us insight on if ER episodes that begin at a certain time of the day tend to pile up based on staffing patterns. In other words, we want to see if overnight episodes pile up in the morning.
To do this, we thought, in our data, to create a flag for when the episode starts and color-code the bubble in animate_process accordingly.
Unfortunately, it seems like the process map might go out-of-sync over time (it's also entirely possible there is a detail of using animate_process that I've missed). I think the time-of-day labels are correct, but the timeline might become inaccurate over time? Or timezones could be at play?
Can you take a look at the code below that I wrote based on the patients dataset?
That patient ids that stuck out to me in this test dataset were 243 and 244. Are we missing something?