Skip to contents

Retrieves domain concepts for a given cohort and time range

Usage

get_domain_concepts(
  cohort,
  concepts,
  start_date,
  end_date,
  tbl_name,
  date_column,
  concept_id_column,
  ...
)

Arguments

cohort

A data frame containing person IDs

concepts

A vector of concept IDs to retrieve

start_date

The start date of the time range to retrieve concepts for

end_date

The end date of the time range to retrieve concepts for

tbl_name

The name of the table containing the domain concepts

date_column

The name of the column containing the concept dates

concept_id_column

The name of the column containing the concept IDs

...

Additional arguments