upload_server: Implement the upload button.

View source: R/upload.R

upload_serverR Documentation

Implement the upload button.

Description

The server component of the Shiny module for creating a pretty upload button for uploading a text file.

Usage

upload_server(id)

Arguments

id

String. The input slot that will be used to access the value.

Value

A module server function that can be called in a reactive env to read the user-uploaded file and return a data frame.

See Also

upload_ui for the UI.

Examples

inst/examples/ex-upload.R

cabaceo/shinymod documentation built on Sept. 8, 2023, 12:23 p.m.