fetchVessel: Returns the contents of a resource referenced by a 'vessel'...

Description Usage Arguments Value Methods (by class)

Description

Returns the contents of a resource referenced by a vessel object.

Usage

1
2
3
4
5
6
7
fetchVessel(vessel, location = getwd())

## S3 method for class 'fileVessel'
fetchVessel(vessel, location = getwd())

## S3 method for class 'urlVessel'
fetchVessel(vessel, location = getwd())

Arguments

vessel

vessel object

location

file path of parent object containing vessel

Value

character vector of file contents

The character vector resulting from a fileVessel object will have an attribute, location, which contains the path to the original file object.

Methods (by class)


anhinton/conduit documentation built on May 10, 2019, 11:48 a.m.