getLinkServer: Shiny module server for retrieving internal data with action...

View source: R/getLink.R

getLinkServerR Documentation

Shiny module server for retrieving internal data with action buttons/links

Description

Inserts action buttons/links that that can be used to get data from a specified source.

Usage

getLinkServer(id, sources, readfun = readLines, ...)

Arguments

id

Character ID for specifying namespace, see shiny::NS.

sources

A vector of source paths matching the order of labels given in getLinkInput.

readfun

A function to handle reading the source files. Defaults to readLines.

...

Additional arguments for

readfun

.

Details

This is a simple component for the primary use of loading example data, defaulting to reading a locally-stored text file. If the data needs to be materialized another way, e.g. if the data is .rda or a web file, that can be handled with using the appropriate readfun.

Value

A data object.


avucoh/DIVE documentation built on Aug. 29, 2023, 6:02 p.m.