getLinkServer | R Documentation |
Inserts action buttons/links that that can be used to get data from a specified source.
getLinkServer(id, sources, readfun = readLines, ...)
id |
Character ID for specifying namespace, see |
sources |
A vector of source paths matching the order of labels given in |
readfun |
A function to handle reading the source files. Defaults to |
... |
Additional arguments for readfun . |
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
.
A data object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.