Learn R Programming

ctrdata (version 1.5.2)

dbCTRUpdateQueryHistory: dbCTRUpdateQueryHistory

Description

dbCTRUpdateQueryHistory

Usage

dbCTRUpdateQueryHistory(register, queryterm, recordnumber, con, verbose)

Arguments

register

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).

queryterm

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.

con

A src connection object, as obtained with nodbi::src_mongo() or nodbi::src_sqlite()

verbose

Printing additional information if set to TRUE; default is FALSE.