
FeatureExtraction settings that read custom covariates
Source:R/custom_covariates.R
custom_covariate_settings.RdBuilds the FeatureExtraction::createCovariateSettings() object that extracts the covariates written by
write_custom_covariates() (or write_geography_measurements()), so a study asks the standard tool for them.
Arguments
- concept_ids
Numeric vector of the custom concept ids to extract (for example
GEOGRAPHY_CONCEPT_IDS).- long_term_start_days, end_days
Window relative to the cohort start, default the 365 days before.
- ...
Further arguments passed to
FeatureExtraction::createCovariateSettings(), for exampleuseDemographicsGender = TRUEto extract standard covariates in the same pass.