# fields needed
f.primaryEndpointDescription()
# apply trial concept when creating data frame
dbc <- nodbi::src_sqlite(
dbname = system.file("extdata", "demo.sqlite", package = "ctrdata"),
collection = "my_trials", flags = RSQLite::SQLITE_RO
)
trialsDf <- dbGetFieldsIntoDf(
calculate = "f.primaryEndpointDescription",
con = dbc
)
trialsDf
Run the code above in your browser using DataLab