OHDSI / FeatureExtraction

An R package for generating features (covariates) for a cohort using data in the Common Data Model.
http://ohdsi.github.io/FeatureExtraction/
61 stars 60 forks source link

Incorrect documentation of getDbCovariateData? #145

Open OskarGauffin opened 3 years ago

OskarGauffin commented 3 years ago

Hi!

I'm trying to work out a bug, and wonder if the cohort_end_date should not also be required in the documentation for the getDbCovariateData-function?

"This function uses the data in the CDM to construct a large set of covariates for the provided cohort. The cohort is assumed to be in an existing table with these fields: 'subject_id', 'cohort_definition_id', 'cohort_start_date'. Optionally, an extra field can be added containing the unique identifier that will be used as rowID in the output."