Giter Site home page Giter Site logo

rstudio-conf-2020 / js-for-shiny Goto Github PK

View Code? Open in Web Editor NEW
100.0 9.0 22.0 52.65 MB

:zap: JavaScript for Shiny Users :sparkles:

Home Page: https://js4shiny.com

License: Creative Commons Attribution Share Alike 4.0 International

HTML 34.50% JavaScript 60.34% R 0.17% CSS 3.72% Shell 0.04% Jupyter Notebook 1.10% TeX 0.02% Python 0.11%

js-for-shiny's Introduction

JavaScript for Shiny Users

rstudio::conf 2020

by Garrick Aden-Buie


๐Ÿ—“๏ธ January 27 and 28, 2020
โฐ 09:00 - 17:00
๐Ÿจ Continental Ballroom Room 6 (Ballroom Level)
โœ๏ธ rstd.io/conf


Workshop Links


Workshop Files and Resources


Overview

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 as we learn how to incorporate our own or packaged JavaScript code into Shiny apps and RMarkdown documents, and how to simultaneously manage JavaScript and R dependencies.

Learning objectives

Attendees will learn basic JavaScript and how to use JavaScript to manipulate HTML and CSS in interactive webpages. We will explore how to use JavaScript effectively in Shiny apps using htmlwidgets and htmltools. We delve into how Shiny uses JavaScript to build engaging Shiny apps.

Is this course for me?

This workshop is for the Shiny user who boldly waded into the Customizing Shiny section of shiny.rstudio.com/articles and quickly wished they had more experience with JavaScript. This user recognizes the benefits of learning JavaScript, but she is overwhelmed by the sheer number of packages, tutorials, and StackOverflow questions that exist in the world. 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.

Prework

๐Ÿ‘ฉโ€๐Ÿ’ป Please follow the instructions at https://js4shiny.com/resources/setup/ to get started.

We will spend most of our time in this workshop in RStudio and a web browser. RStudio Desktop is preferred because we will occasionally need to run commands like npm in your computer's terminal or console.

I recommend the Firefox, Firefox Developer Edition, or Chrome browsers and will use Firefox during the workshop.

Schedule

We have a lot planned for our time together, so the topics listed below provide a general overview and may change. The times are certain and fixed (unless the rstudio::conf schedule changes).

Monday, January 27

Time Activity
09:00 - 10:30 ๐ŸŽฌ Web Dev 101
10:30 - 11:00 โ˜• Coffee break
11:00 - 12:30 ๐Ÿ’… Interactivity and Style
12:30 - 13:30 ๐Ÿฑ Lunch break
13:30 - 15:00 โšก JavaScript
15:00 - 15:30 โ˜• Coffee break
15:30 - 17:00 ๐ŸŒ R for Web Dev

Tuesday, January 28

Time Activity
09:00 - 10:30 ๐Ÿ“ฆ htmlwidgets
10:30 - 11:00 โ˜• Coffee break
11:00 - 12:30 โ˜Ž๏ธ Communicating with Shiny
12:30 - 13:30 ๐Ÿฑ Lunch break
13:30 - 15:00 ๐Ÿ‘ฏโ€โ™€๏ธ Extending Shiny
15:00 - 15:30 โ˜• Coffee break
15:30 - 17:00 ๐Ÿคนโ€โ™€๏ธ Building Awesome Shiny Apps

Instructor

Garrick Aden-Buie is an RStudio certified trainer and a data scientist at the Moffitt Cancer Center in the Collaborative Data Services Core where he uses and trains others to use R, Shiny, and the tools of data science to accelerate research towards the prevention and cure of cancer.


This work is licensed under a Creative Commons Attribution 4.0 International License.

js-for-shiny's People

Contributors

gadenbuie avatar mine-cetinkaya-rundel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

js-for-shiny's Issues

๐Ÿ†˜ Node and npm installation issues

Are you having trouble installing or setting up node or npm for your system? If so, post your issues and troubles here and we'll (me, the TAs, and our workshop community) try to help!

Slides missing

I unfortunately could join the conference in SF but would appreciate to read the slides, learn from them and potentially play with the code made available

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.