Skip to contents

This is a convenience method that infers and applies the correct extractor for the input

Usage

extract(res, ...)

Arguments

res

An object of type ohvbd.responses or ohvbd.ad.matrix generated from fetch() and containing data from one of the supported databases.

...

Any arguments to be passed to the underlying extractors (see extract_vt() and extract_ad() for specific arguments).

Value

The extracted data, either as an ohvbd.data.frame or ohvbd.ad.matrix object.

Author

Francis Windram

Examples

if (FALSE) { # \dontrun{
find_vt_ids() %>% fetch() %>% extract(cols=c("Interactor1Species"))
fetch_ad(use_cache=TRUE) %>% extract(targetdate="2020-08-04")
} # }