as.resource.object: Coerce resource client to the internal data object

View source: R/datashield.R

as.resource.objectR Documentation

Coerce resource client to the internal data object

Description

Coerce a ResourceClient object to internal data object: depending on the implementation of the ResourceClient, it can be a data connection object (like a DBI connection to a SQL database), or the actual data structure (when a resource is a R object extracted from a R data file for instance).

Usage

as.resource.object(x, ...)

Arguments

x

The ResourceClient object to coerce to a data.frame.

...

Additional parameters, that may be used (or ignored) by the resource client.

Value

the internal data object.


obiba/resourcer documentation built on May 5, 2023, 10:08 a.m.