library(ROhdsiWebApi)
result <- getResults(id = 2,
baseUrl = Sys.getenv("WEBAPI_TEST_WEBAPI_URL"),
category = "incidenceRate")
#> Found 1 generations for IncidenceRate of which 100.0% had a status = 'COMPLETED'
#> Found 1 (100.0% of 1 result generations) to have configured source key in WebApi. Results will be retrieved for this subset.
#> Error: Column `targetId` not found in `.data`
Created on 2021-07-16 by the reprex package (v2.0.0)