0

I have the code below

library(bupar)
library(daqapo)
hospital<-hospital
hospital %>%
  rename(start = start_ts,
         complete = complete_ts) -> hospital
hospital %>%
  convert_timestamps(c("start","complete"), format = dmy_hms) -> hospital
hospital %>%
  activitylog(case_id = "patient_visit_nr",
              activity_id = "activity",
              resource_id = "originator",
              timestamps = c("start", "complete")) -> hospital
hospital %>%
  detect_missing_values()

which gives

Absolute number of missing values per column:
                  
patient_visit_nr 0
activity         0
originator       2
start            1
complete         0
triagecode       1
specialization   0
.order           0
Relative number of missing values per column (expressed as percentage):
                         
patient_visit_nr 0.000000
activity         0.000000
originator       3.773585
start            1.886792
complete         0.000000
triagecode       1.886792
specialization   0.000000
.order           0.000000

how can I extract those two dataframes merged as one?

firmo23
  • 7,490
  • 2
  • 38
  • 114

0 Answers0