The goal of d3poadvanceddemo is to show to visualize something complicated with relative low effort with Shiny+Golem+D3po.
You can install the development version of d3po like so:
remotes::install_github("pachadotdev/d3po")
Or the stable version like so:
install.packages("d3po")
Then follow the instructions to create a templated project from the main readme.
The next line allows you to run this Shiny app locally:
d3poadvanceddemo::run_app()
When you modify the headers of any file in R/
(i.e., when you add an @importFrom ...
), remember to run attachment::att_amend_desc()
.
In general I recommend running these commands until your app is polished:
devtools::load_all()
devtools::check()
attachment::att_amend_desc() # if needed
d3podemo::run_app() # eventually change the name of the app to what you need
For convenience the dev/
folder has three scripts:
dev/01_start.R
to modify the app name, license, description, adding unit tests, etc.dev/02_dev.R
to update the DESCRIPTION
, add modules, use GitHub Actions, etc.dev/02_deploy.R
to deploy your app.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.