newResourceClient {resourcer}R Documentation

Creates a resource client

Description

From a resource object, find the corresponding resolver in the resolver registry and create a new resource client.

Usage

newResourceClient(x)

Arguments

x

The resource object which corresponding resolver is to be found.

Value

The corresponding ResourceClient object or NULL if none applies.

Examples


library(resourcer)
res <- newResource(
  name = "CNSIM1",
  url = "file:///data/CNSIM1.sav",
  format = "spss"
)
client <- newResourceClient(res)



[Package resourcer version 1.4.0 Index]