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.


resourcer documentation built on April 25, 2023, 5:10 p.m.