codesFromCohort: Get concept ids from a provided path to cohort json files

View source: R/codesFromConceptSet.R

codesFromCohortR Documentation

Get concept ids from a provided path to cohort json files

Description

Get concept ids from a provided path to cohort json files

Usage

codesFromCohort(path, cdm, withConceptDetails = FALSE)

Arguments

path

Path to a file or folder containing JSONs of cohort definitions

cdm

A cdm reference created with CDMConnector

withConceptDetails

If FALSE a vector of concept IDs will be returned for each concept set. If TRUE a tibble will be returned with additional information on the identified concepts.

Value

Named list with concept_ids for each concept set


oxford-pharmacoepi/CodelistGenerator documentation built on April 12, 2024, 9:30 a.m.