-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
Lines 110 to 113 in 60507ac
| df <- with(r$query_data, r$query_data[n == 1, ] ) | |
| if(identical(nrow(df),0)) return(df) | |
| df <- df |> | |
| dplyr::slice_min(timestamp, by = c(subject_id, event_label, query_id)) |> |
@LDSamson handful of questions here:
- Why are we grabbing queries with
n == 1? In what scenario would there be query data without an initial query ofn == 1? I ask this in part because our EDC queries have an audit ID which is sequential across all items. Doesnsignify anything outside marking subsequent query records for aquery_id? - Why slice by minimum
timestampinstead ofn? This seems to imply that there can be multiple queries withn==1. Is that somehow the case?
I would think that we should be able to slice the data frame at minimum n by query_id and call it a day.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested