Fetch data request from EpiVault
fetch_ev_data.Rd
Interprets an ev_variables
container, fetches the data from EpiVault and returns it in an ev_data
container.
Details
Passes ev_vars
to fetch_ev_meta_vars
and fetch_ev_meta_tabs
to get the metadata ready for processing, fetches the tabular data from EpiVault before applying data labels. All fetched data and metadata is returned in an ev_data
container.
See also
Other data request functions:
ev_simple_fetch()
,
fetch_ev_meta_tabs()
,
fetch_ev_meta_vars()
,
make_ev_variables()
,
read_ev_variables()
,
write_ev_data()
Examples
if (FALSE) { # \dontrun{
con <- ev_connect()
# read a variable data request file
vars <- read_ev_variables("path/to/variables/file")
# fetch the data from EpiVault - default visibility for standard data requests
ev <- fetch_ev_data(con, vars)
# fetch the data from EpiVault - highest visibility to access sensitive variables
ev <- fetch_ev_data(con, vars, visibility = 9)
} # }