R/feature.R
omop.feature.duration_sum.Rd
Sums end_date - start_date (in days) for each person across all records in tables that have start/end date columns.
end_date - start_date
omop.feature.duration_sum(concept_set, name = NULL)
Numeric vector of concept IDs.
Character; optional custom column name.
An omop_feature_spec with type = "duration_sum".
omop_feature_spec
type = "duration_sum"