R/database.R
load_inpatient_investigations.Rd
Load observations & investigations into the warehouse
load_inpatient_investigations(conn, investigations_data, overwrite = TRUE)
a database connection
a data frame validated with
validate_investigations()
if TRUE
(the default), will overwrite any existing
inpatient_investigations
database table