A trait name, e.g. "Body mass index",
leaving exposure_trait as NULL will return MR information
related to a specific outcome.
NOTE: exposure_trait and outcome_trait cannot be both NULL.
outcome_trait
A trait name, e.g. "Coronary heart disease",
leaving outcome_trait as NULL will return MR information
related to a specific exposure_trait.
NOTE: exposure_trait and outcome_trait cannot be both NULL.
If mode = "table", returns a data frame
(a tibble as per
tidyverse convention).
If mode = "raw", returns a raw response from EpiGraphDB API
with minimal parsing done by httr.