ctg_bulk_fetch {clintrialx} | R Documentation |
Bulk Fetch Clinical Trial Data from ClinicalTrials.gov API
Description
This function retrieves clinical trial data in bulk from the ClinicalTrials.gov API based on
specified parameters. It handles pagination and returns a combined dataset.
Usage
ctg_bulk_fetch(
condition = NULL,
location = NULL,
title = NULL,
intervention = NULL,
status = NULL
)
Arguments
condition |
Character string specifying the condition to search for.
|
location |
Character string specifying the location to search in.
|
title |
Character string specifying the title to search for.
|
intervention |
Character string specifying the intervention to search for.
|
status |
A character vector specifying the recruitment status of the trials. Allowed values are:
Valid values include:
-
ACTIVE_NOT_RECRUITING - Studies that are actively conducting but not
recruiting participants.
-
COMPLETED - Studies that have completed all phases.
-
ENROLLING_BY_INVITATION - Studies that are enrolling participants
by invitation only.
-
NOT_YET_RECRUITING - Studies that have not yet started recruiting.
-
RECRUITING - Studies that are actively recruiting participants.
-
SUSPENDED - Studies that are temporarily halted.
-
TERMINATED - Studies that have been terminated before completion.
-
WITHDRAWN - Studies that have been withdrawn before enrollment.
-
AVAILABLE - Studies that are available.
-
NO_LONGER_AVAILABLE - Studies that are no longer available.
-
TEMPORARILY_NOT_AVAILABLE - Studies that are temporarily not available.
-
APPROVED_FOR_MARKETING - Studies that have been approved for marketing.
-
WITHHELD - Studies that have data withheld.
-
UNKNOWN - Studies with an unknown status.
|
Value
A data frame containing the fetched clinical trial data.
Examples
trials <- ctg_bulk_fetch(location="india")
[Package
clintrialx version 0.1.0
Index]