daily_events: Daily Events for HIC Data item by Site

Description Usage Arguments Value

View source: R/utils.R

Description

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

Usage

1
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


CC-HIC/inspectEHR documentation built on Jan. 16, 2020, 11:24 p.m.