🎤Presentation about the R package Crosstalk, given at EARL London 2018
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
img
libs
memes
style
.gitignore
LICENSE
README.md
earl18-presentation.Rproj
index.Rmd
index.html
mdray-earl2018-crosstalk.pdf

README.md

earl18-presentation

Summary

This repo contains source code for a presentation I gave at the EARL (Enterprise Applications of the R Language) conference in London on 12 September 2018.

The presentation was about use of the crosstalk package to help solve a business problem.

Note that this talk was restricted to published data only and the content of this talk does not reflect or constitute official government policy.

You can view the presentation in your browser.

Xaringan

The presentation was built using the excellent xaringan package.

You should know about some keyboard shortcuts:

  • to present: use c to clone the window (for your audience) then p for presenter mode (in the window on your own screen)
  • f for fullscreen
  • t to reset timer in presenter mode
  • b to blackout
  • h for more keyboard help

Blurb

The blurb is available on the EARL website.

Crosstalk: Shiny-like without Shiny

Self-service interactive tools have great power to support decisions by policy-makers. Shiny apps are a natural fit for this, but it's not always easy to share them within the public sector. This is due to issues like a lack of server space, highly sensitive data and users who aren't R-savvy.

We've approached this problem in the UK's Department for Education by sharing interactive HTML widgets – embeddable JavaScript visualisation libraries – within RMarkdown outputs. Interactivity is, however, limited because selections in one widget don’t impact the data presented in another.

Joe Cheng's Crosstalk package (http://rstudio.github.io/crosstalk/) overcomes this with shared data objects that react to user inputs, altering the content of multiple widgets on the fly. I'll explain how I used Crosstalk to develop a 'pseudo-app' for exploring schools data with the Leaflet (maps), Plotly (charts) and DT (tables) widgets inside the Flexdashboard framework and how I shared it easily with policy-making users as a static HTML file for exploration in the browser.