View source: R/plot_ed_4hourperf_timeseries.R
plot_ed_4hourperf_timeseries | R Documentation |
plot_ed_4hourperf_timeseries
returns daily 4 hour emergency access
performance in the form of a plot or a dataframe.
plot_ed_4hourperf_timeseries( data, startDate, endDate, timeUnit = "day", returnPlot = TRUE, hospitalName = "{hospital_name}" )
data |
Hospital episode data with at least the following fields:
|
startDate |
A datetime, as a POSIXct, of the earliest attendance to be included in the analysis. |
endDate |
A datetime, as a POSIXct, of the latest attendance to be included in the analysis. |
timeUnit |
The unit of aggregation for 4 hour performance percentages
in the same format as |
returnPlot |
If TRUE returns a chart, otherwise returns a dataframe. |
hospitalName |
The hospital name for which the analysis is undertaken. |
A plot (default) or a dataframe showing 4 hour performance of the emergency department.
## Not run: TBD ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.