Skip to content

Latest commit

 

History

History
72 lines (67 loc) · 2.65 KB

index.md

File metadata and controls

72 lines (67 loc) · 2.65 KB
title author description image date date_end tags categories event event_url location links
JavaScript for Shiny Users
Garrick Aden-Buie
A two-day workshop to get you up and running with JavaScript in Shiny and interactive R Markdown documents.
feature.jpg
2020-01-27 9:00:00
2020-01-28 17:00:00
R
JavaScript
Shiny
HTML
CSS
Workshop
rstudio::conf(2020)
San Francisco, CA
icon name url
house-door-fill
Website
icon name url
box-seam
Package
icon name url
file-slides-fill
Slides

Abstract

Shiny gives users a powerful toolkit to create interactive web applications. As a result, Shiny users are also web developers! Inevitably, an intermediate Shiny user will want to create a visualization or user interface that isn't available in the shiny package. Fortunately, we can use the building blocks of the web -- JavaScript, HTML, and CSS -- to extend Shiny's capabilities and create engaging Shiny apps.

This two-day, hands-on workshop will introduce Shiny users to JavaScript, the ubiquitous scripting language that powers the modern web. We will explore JavaScript's syntax and will discover its functional programming style to be refreshingly familiar to tidyverse R users. We will learn how to use JavaScript to manipulate HTML and how Shiny uses JavaScript to communicate between the browser and Shiny server. Together, we will build an htmlwidget and learn how to incorporate our own or packaged JavaScript code into Shiny apps and [R Markdown] documents, and how to simultaneously manage JavaScript and R dependencies.

This workshop is for the Shiny user who boldly waded into the Customizing Shiny section of RStudio's Shiny Articles and quickly wished they had more experience with JavaScript. This user recognizes the benefits of learning JavaScript, but they are overwhelmed by the sheer number of packages, tutorials, and StackOverflow questions that exist in the world about JavaScript, HTML, and CSS. The goal of this workshop is to meet the Shiny user where they are now to learn the best parts of JavaScript that will provide the most value and facilitate learning and exploration after the workshop.