This function retrieves version information from specified clinical trials API sources.
Usage
version_info(source = "clinicaltrials.gov")
Arguments
- source
A character string specifying the source to query.
Currently, "clinicaltrials.gov" and "aact" are supported.
Value
A list containing API version and data timestamp for clinicaltrials.gov,
or NULL for aact with a message printed.
References
ClinicalTrials.gov API - https://clinicaltrials.gov/api/v2/version
AACT - https://aact.ctti-clinicaltrials.org/release_notes
Examples
version_info()
#> API version: 2.0.3
#> Timestamp: 2024-09-03 11:12:18
version_info("clinicaltrials.gov")
#> API version: 2.0.3
#> Timestamp: 2024-09-03 11:12:18
version_info("aact")
#> Please refer to: https://aact.ctti-clinicaltrials.org/api/v2/version