dbFindIdsUniqueTrials: Deduplicate records to provide unique clinical trial identifiers
Description
If records for a clinical trial are found from more than one register, the
record from EUCTR is returned. The function currently relies on CTGOV
recording other identifiers such as the EudraCT number in the field "Other
IDs".
The abbreviation of the preferred register, in case
a trial is in more than one register (string, either "EUCTR" or "CTGOV").
If set to an empty string (""), keeps the keys for the same trial in both
registers in the returned vector.
prefermemberstate
Code of single EU Member State for which records
should returned. If not available, a record for GB or lacking this, any
other record for the trial will be returned. For a list of codes of EU
Member States, please see vector countriesEUCTR. Alternatively,
"3RD" will lead to return a Third Country record of a trial, if available.
include3rdcountrytrials
A logical value if trials should be retained
that are conducted exclusively in third countries, that is, outside
the European Union.