Acessing SQL database using shiny with reactive query

前端 未结 1 1198
一个人的身影
一个人的身影 2021-01-21 01:06

I want to use Shiny to let a user build a data frame by accessing an SQL data base. I want it to work in the following way (but open to suggestions):

  • User types in
相关标签:
1条回答
  • 2021-01-21 01:33

    Store your final object in a list you define as:

    wq<- reactiveValues()
    ....
    isolate()
    

    I'm working on something similar with updating a model statement with reactively generated interaction terms. I had to use reactiveValues() and isolate() to get it to work. Joe Cheng has an example Gist.

    Here's a link. Maybe it will help you. https://gist.github.com/jcheng5/eaedfed5095d37217fca

    Best, NF

    0 讨论(0)
提交回复
热议问题