OHDSI / ROhdsiWebApi

An R package for interfacing with a WebAPI instance
https://ohdsi.github.io/ROhdsiWebApi
10 stars 17 forks source link

invokeCohortSetGeneration throws an error #96

Closed gowthamrao closed 4 years ago

gowthamrao commented 4 years ago

invokeCohortSetGeneration(baseUrl = baseUrl, sourceKeys = 'IBM_CCAE', cohortIds = c(5665, 5666))

Error: $ operator is invalid for atomic vectors

gowthamrao commented 4 years ago

Based on discussion here on design choice, https://github.com/OHDSI/ROhdsiWebApi/issues/37#issuecomment-633988502

invokeCohortSetGeneration will be deleted

it will be replaced by invokeCohortGeneration

end user is expected to loop through invokeCohortGeneration - as in

lapply(cohortIds, sourceKeys, invokeCohortGeneration)