ctrLoadQueryIntoDbCtgov
ctrLoadQueryIntoDbCtgov(
queryterm = queryterm,
register,
euctrresults,
euctrresultshistory,
euctrresultspdfpath,
annotation.text,
annotation.mode,
parallelretrievals,
only.count,
con,
verbose,
queryupdateterm
)
Either a string with the full URL of a search in
a register, or the data frame returned by the
ctrGetQueryUrl or the
dbQueryHistory functions, or, together with parameter
register
, a string with query elements of a search URL.
The queryterm is recorded in the collection
for later
use to update records.
String with abbreviation of register to query,
at this time either "EUCTR" (default) or "CTGOV". Not needed
if queryterm
provide the information which register to
query (see queryterm
).
If TRUE
, also download available
results when retrieving and loading trials from EUCTR. This
slows down this function. (For CTGOV, all available results
are always retrieved and loaded.)
If TRUE
, also download
available history of results publication in EUCTR.
This is quite time-consuming (default is FALSE
).
If a valid directory is specified,
save PDF files of result publications from EUCTR into
this directory (default is NULL
).
Text to be including in the records retrieved with the current query, in the field "annotation".
One of "append" (default), "prepend" or "replace" for new annotation.text with respect to any existing annotation for the records retrieved with the current query.
Number of parallel downloads of information from the register, defaults to 10.
Set to TRUE
to return only the
number of trial records found in the register for the query.
Does not load trial information into the database.
Default is FALSE
.
A src connection object, as obtained with nodbi::src_mongo() or nodbi::src_sqlite()
Printing additional information if set to
TRUE
; default is FALSE
.