Chapter 8 Quick setup

For those with R experience and no time for manuals.


1. CaRDO requires the following packages installed before launching

install.packages("remotes")
install.packages("tidyverse")
install.packages("plotly")
install.packages("markdown")
  1. There are three key requirements for all cancer datasets loaded into CaRDO.
  • You must have a single column for each variable and outcome you wish to report, and each row in your dataset should correspond to a unique combination of each variable

  • Cancer-type values must be coded exactly as you want them to be displayed (e.g., ‘Liver Cancer’).

  • Cancer and population data must be aggregated by 5-year age groups, with age groups coded numerically from 1 – 18.

  1. Download CaRDO from GitHub using
remotes::install_github("https://github.com/CCQResearch/CaRDO", dependencies = TRUE)
  1. Load CaRDO using
CaRDO::create_dashboard()
  1. Follow the prompts and build your dashboard
  • Load your data - (example datasets available here)
  • Specify your variables
  • Personalise your dashboard
  1. Open your app.R file and run the script.
file.edit('your/working/directory/app.R')