R/DSLiteDriver.R

Defines functions DSLite

Documented in DSLite

#' Class DSLiteDriver with constructor DSLite.
#'
#' An DSLite driver implementing the DataSHIELD Interface (DSI) \code{\link{DSDriver-class}}.
#' This class should always be initialized with the \code{\link{DSLite}} function.
#' It returns a singleton that allows you to connect to DSlite.
#'
#' @import methods
#' @import DSI
#' @export
#' @keywords internal
setClass("DSLiteDriver", contains = "DSDriver")

#' Create a DSLite driver
#'
#' Convenient function for creating a DSLiteDriver object.
#'
#' @import methods
#' @import DSI
#' @export
DSLite <- function() {
  new("DSLiteDriver")
}

Try the DSLite package in your browser

Any scripts or data that you put into this service are public.

DSLite documentation built on Oct. 7, 2022, 9:05 a.m.