Skip to contents

OHDSI FeatureExtraction settings for a feature set

Usage

feature_set_covariate_settings(
  fs,
  concepts = NULL,
  long_term_start_days = -365,
  end_days = 0,
  ...
)

feature_set_extraction_r(
  fs,
  concepts = NULL,
  long_term_start_days = -365,
  end_days = 0
)

Arguments

fs

A feature_set.

concepts

The result of write_feature_set() (needed for columns without a pinned concept id).

long_term_start_days, end_days

Window relative to the index date (default the 365 days before and the day itself).

...

Passed to custom_covariate_settings() (and so to FeatureExtraction::createCovariateSettings()).

Value

feature_set_covariate_settings(): a FeatureExtraction covariate-settings object (needs the FeatureExtraction package). feature_set_extraction_r(): the equivalent R code as a string.