urls <- ctrGenerateQueries(
intervention = "antibody",
phase = "phase 3",
startAfter = "2000-01-01")
# open queries in register web interface
sapply(urls, ctrOpenSearchPagesInBrowser)
# For CTIS to accept such a search URL and show results, consider installing
# the Tampermonkey browser extension from https://www.tampermonkey.net/,
# click on the extension icon, "Create a new script", "Utility" and then
# "Import from this URL":
# https://raw.githubusercontent.com/rfhb/ctrdata/master/tools/ctrdataURLcopier.js
# find potential research platform and platform trials
urls <- ctrGenerateQueries(
searchPhrase = paste0(
"basket OR platform OR umbrella OR master protocol OR ",
"multiarm OR multistage OR subprotocol OR substudy OR ",
"multi-arm OR multi-stage OR sub-protocol OR sub-study"),
phase = "phase 3",
startAfter = "01/31/2010",
countries = c("DE", "US", "United Kingdom"))
# open queries in register web interface
sapply(urls, ctrOpenSearchPagesInBrowser)
urls <- ctrGenerateQueries(
searchPhrase = "antibody AND covid",
recruitment = "completed",
)
if (FALSE) {
# count trials found
sapply(urls, ctrLoadQueryIntoDb, only.count = TRUE)
# load queries into database collection
dbc <- nodbi::src_sqlite(collection = "my_collection")
sapply(urls, ctrLoadQueryIntoDb, con = dbc, euctrprotocolsall = FALSE)
}
Run the code above in your browser using DataLab