Tidy file resource client

Tidy file resource client

Format

A R6 object of class TidyFileResourceClient

Details

Connects to a file and use one of the tidyverse reader.

Super classes

resourcer::ResourceClient -> resourcer::FileResourceClient -> TidyFileResourceClient

Methods

Inherited methods


Method new()

Create a TidyFileResourceClient instance.

Usage

Arguments

resource

A valid resource object.

Returns

A TidyFileResourceClient object.


Method asDataFrame()

Coerce the resource value extracted from the file in tidy format to a data.frame.

Usage

TidyFileResourceClient$asDataFrame(...)

Arguments

...

Additional parameters to as.data.frame (not used yet).

Returns

A data.frame (more specifically a tibble).


Method clone()

The objects of this class are cloneable with this method.

Usage

TidyFileResourceClient$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.