Overview
There are several different ways to share to share your custom dashboard online, including posit connect cloud and shiny server. For smaller organizations, I recommend posit connect cloud because it is straightforward to use and the free tier includes 20 hours of active use per month.
Uploading to Posit Connect Cloud
Log in or make an account on posit connect cloud.
Paste
rsconnect::connectCloudUser()in the console window and hitENTER. This will open posit connect cloud in a browser window; follow the prompts to authorize access.Run
data-raw/08_launch.R. If prompted with a message that WQdashboard is not installed, select option1.Posit connect cloud will host the dashboard as a standalone website. The home page for posit connect cloud will provide a link to each active website.
Embedding
WQdashboard can be embedded in any other website with an iframe. Simply copy the code below and replace “LINK” with the link to your dashboard. The height, width, and title can be adjusted as needed.
WQdashboard will load whenever the page it is embedded on is opened. If you are concerned about using too many active hours, embed WQdashboard on its own page instead of the homepage.