Description Usage Arguments Details Value
View source: R/ch_read_delim.R
The list will contain:
1  | ch_read_delim(id, defaults = list(delim = ",", decimal_mark = "."))
 | 
id | 
 character, tag to prepend to the input and output id's  | 
defaults | 
 list, default values for delimiter and decimal_mark  | 
ui_controllershiny::taglist of ui elements for the controller
ui_viewshing::taglist of ui elements for the view
server_modelfunction with reactive code
The list returned by this function has to be available to both the ui and the server.
If not using the shinyApp formulation, perhaps global.R could be useful.
The list ui_controller will have members:
fileshiny::fileInput used to choose the file to upload
delimshiny::selectInput used to select the delimiter character 
decimal_markshiny::selectInput used to select the decimal-mark character
tz_parseshiny::selectInput used to select the timezone used to parse
tz_parse_modalshinyBS::bsModal used for timezone help
tz_displayshiny::selectInput used to select the timezone to display
tz_display_modalshinyBS::bsModal used for timezone help
Note that the 'tz' input will serve as an argument to 'readr::locale'; its meaning depends on the context of what it's parsing. See the readr documentation for more details.
The list ui_view will have members:
textshiny::htmlOutput showing a preview of the first few lines of the text file
datashiny::htmlOutput showing a glimpse of the parsed dataframe
The function server_model() will be called from your server function.
Its arguments are:
input, output, sessioninput, output, session values passed from your server function
rctval_data, item_datashiny::reactiveValues object, character string.
The parsed dataframe will be placed in rctval_data[[item_data]].
list containing ui_controller, ui_view, and server_model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.