Skip to contents

Get concept ids from a provided path to json files

Usage

readConceptList(path, cdm)

Arguments

path

path to a file or folder containing jsons to be read

cdm

A cdm reference created with CDMConnector

Value

list of concept_ids and respective concept_ids of interest

Examples

# \donttest{
library(DrugUtilisation)

cdm <- mockDrugUtilisation()

codelist <- readConceptList(
  path = system.file("concepts",package="DrugUtilisation"), cdm = cdm
)
#> Warning: `readConceptList()` was deprecated in DrugUtilisation 0.5.0.
#>  Please use `CodelistGenerator::codesFromConceptSet()` instead.
# }