Reads clinical data from the targets store and formats it for
API delivery. Optionally filters by patient IDs or variables.
Usage
api_get_clinical(patient_ids = NULL, variables = NULL, store = "_targets")
Arguments
- patient_ids
Optional character vector of patient IDs to filter
- variables
Optional character vector of column names to select
- store
Path to targets store (default: "_targets")
Value
A data frame of clinical data, or NULL if unavailable