Calculates the number of events contributed for each calendar day, stratified by site. This is a complete table, i.e. days with 0 admissions are not listed

daily_events(df = NULL, reference = NULL, by_site = NULL)

Arguments

df

extracted data item

reference

the reference table generated by make_reference

by_site

the named site of interest as a character

Value

a tibble with the number of unique episodes admitted for a given day