Creates a new Resource structure.
newResource(name = "", url, identity = NULL, secret = NULL, format = NULL)
Otpional human friendly name that identifies the resource.
URL to access the resource whether it is data or computation capability.
User name or account ID (if credentials are applicable).
User password or token (if credentials are applicable).
Data format, to help resource resolver identification and coercing to other formats, optional.
{
# make a SPSS file resource
res <- resourcer::newResource(
name = "CNSIM1",
url = "file:///data/CNSIM1.sav",
format = "spss"
)
}