Learn R Programming

resourcer (version 1.3.0)

resolveResource: Find a resource resolver

Description

Find the resolver that will make a client from the provided resource object.

Usage

resolveResource(x)

Value

The corresponding ResourceResolver object or NULL if none applies.

Arguments

x

The resource object which corresponding resolver is to be found.

Examples

Run this code
# \donttest{
library(resourcer)
res <- newResource(
  name = "CNSIM1",
  url = "file:///data/CNSIM1.sav",
  format = "spss"
)
resolver <- resolveResource(res)
# }

Run the code above in your browser using DataLab