knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-" )
The scenarioSelector app helps you find and visualize a scenario. You can use it online or as an R package following the installation and example below.
Install the development version of scenarioSelector from GitHub with:
# install.packages("devtools") devtools::install_github("2DegreesInvesting/scenarioSelector")
Use the scenarioSelector package with:
library(scenarioSelector)
You can run the app with:
if (interactive()) { run_app() }
The tidy data is available with:
scenarios
To track the source of the data see data-raw/.
For a discussion including related work see the channel #
scenario-selector-tool
on 2DII's (private) Slack or [ADO
This app is small but implements some big ideas I learned from Mastering Shiny, by Hadley Wickham:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.