Learn R Programming

ctrdata (version 1.1)

ctrOpenSearchPagesInBrowser: Open advanced search pages of register(s) or execute search in browser

Description

Open advanced search pages of register(s) or execute search in browser

Usage

ctrOpenSearchPagesInBrowser(input = "", register = "", copyright = FALSE, ...)

Arguments

input

Show results of search for queryterm in browser. To open the browser with a previous search, (register or) queryterm can be the output of ctrGetQueryUrlFromBrowser or can be one row from dbQueryHistory.

register

Register(s) to open. Either "EUCTR" or "CTGOV" or a vector of both. Default is to open both registers' advanced search pages. To open the browser with a previous search, the output of ctrGetQueryUrlFromBrowser() or one row from dbQueryHistory() can be used.

copyright

(Optional) If set to TRUE, opens copyright pages of register(s).

...

Any additional parameter to use with browseURL, which is called by this function.

Value

Is always true, invisibly.

Examples

Run this code
# NOT RUN {
ctrOpenSearchPagesInBrowser(
 "https://www.clinicaltrialsregister.eu/ctr-search/search?query=cancer")

ctrOpenSearchPagesInBrowser(
 ctrGetQueryUrlFromBrowser())

ctrOpenSearchPagesInBrowser(
 dbQueryHistory())
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab