I have a brilliant application that accepts input through selectizeInputand enters data into a fixed-size data frame, which is displayed and updated as users enter data. When the user enters data, the data frame is filled. Every time a user enters new data, I use the googlesheets package to upload the modified data framework to a Google worksheet. This download process takes 2 or 3 seconds, and a brilliant application will wait for it to complete before updating the user interface and displaying the data frame. The process of saving google sheets should be a background task and run without a brilliant application awaiting its completion. Is there any way to do this?
This is how it looks ...
observeEvent(input$timer_start,
{
tmp <- row_col(val$cell, input$team_num)
val$df[tmp$row, tmp$col] <- input$name
tmp_df <<- val$df
edit_cells(gs, ws=1, tmp_df, header=TRUE)
})
cory source
share