Serving RStudio Connect content to logged in and anonymous users
By chrisbeeley
We have our patient feedback dashboard in the open where anyone can see what Nottinghamshire Healthcare NHS Trust’s patients are saying about us. Now I’ve got a Connect licence I thought perhaps I might build another version for our staff where I put stuff that we can’t share- for example the comments of people who click the “I do not wish to share this comment” box.
But I don’t want to build and maintain two versions, that would be hideous, and I was going to put a litte
Just publish one and make people authenticate to it, and publish one in the open. Separate apps, separate links, same code. But add somewhere something like
if(isTruthy(session$user)){
TRUE
} else { FALSE } })
</div>Success!