Interactive Course

Building Web Applications in R with Shiny: Case Studies

Practice your Shiny skills while building some fun Shiny apps for real-life scenarios!

  • 4 hours
  • 16 Videos
  • 59 Exercises
  • 8,780 Participants
  • 4,850 XP

Loved by learners at thousands of top companies:

dell-grey.svg
forrester-grey.svg
ikea-grey.svg
rei-grey.svg
paypal-grey.svg
deloitte-grey.svg

Course Description

After learning the basics of using Shiny to build web applications, this course takes you to the next level by putting your newly acquired skills into practice. You'll get experience developing fun and realistic Shiny apps for different common use cases, such as using Shiny to explore a dataset, generate a customized plot, and even create a word cloud. With all this practice and new knowledge, you will be well-equipped to develop Shiny apps for your own use.

  1. 1

    Shiny review

    Free

    In the first chapter, you'll review the essentials of Shiny development. You'll get reintroduced to the basic structure of a Shiny application, as well as some core Shiny concepts such as inputs, outputs, and reactivity. Completing this chapter will help refresh your Shiny knowledge and ensure you have the required skills to develop Shiny apps for real-life scenarios.

  2. Explore a dataset interactively with Shiny

    Let’s say your supervisor is impressed by the plot you created with Shiny and now wants to get familiar with the dataset you used in the plot. They don't want to simply have a raw data file, they want an interactive environment where they can view the data, filter it, and download it. This chapter will guide you in creating such an application—a Shiny app for exploring the Gapminder dataset.

  3. Make the perfect plot using Shiny

    Imagine you're preparing a figure for a manuscript using R. You spend a lot of time recreating the same plot over and over again by rerunning the same code but changing small parameters each time. The size of the points, the color of the points, the plot title, the data shown on the plot—these criteria all have to be just right before publishing the figure. To save you from the hassle of rerunning the code many times, you will learn how to create a Shiny app to make a customizable plot.

  4. Create your own word cloud in Shiny

    Your friend really likes word clouds and has written an R function to generate them. They want to share this function with all their friends, but not all of them know how to use R. You offer to help by building a Shiny app that uses their function to let people create their own word clouds. This will allow all their friends—even the ones who are unfamiliar with R—to generate word clouds using a point-and-click interface. This chapter will guide you through the steps required to build this app.

  1. 1

    Shiny review

    Free

    In the first chapter, you'll review the essentials of Shiny development. You'll get reintroduced to the basic structure of a Shiny application, as well as some core Shiny concepts such as inputs, outputs, and reactivity. Completing this chapter will help refresh your Shiny knowledge and ensure you have the required skills to develop Shiny apps for real-life scenarios.

  2. Make the perfect plot using Shiny

    Imagine you're preparing a figure for a manuscript using R. You spend a lot of time recreating the same plot over and over again by rerunning the same code but changing small parameters each time. The size of the points, the color of the points, the plot title, the data shown on the plot—these criteria all have to be just right before publishing the figure. To save you from the hassle of rerunning the code many times, you will learn how to create a Shiny app to make a customizable plot.

  3. Explore a dataset interactively with Shiny

    Let’s say your supervisor is impressed by the plot you created with Shiny and now wants to get familiar with the dataset you used in the plot. They don't want to simply have a raw data file, they want an interactive environment where they can view the data, filter it, and download it. This chapter will guide you in creating such an application—a Shiny app for exploring the Gapminder dataset.

  4. Create your own word cloud in Shiny

    Your friend really likes word clouds and has written an R function to generate them. They want to share this function with all their friends, but not all of them know how to use R. You offer to help by building a Shiny app that uses their function to let people create their own word clouds. This will allow all their friends—even the ones who are unfamiliar with R—to generate word clouds using a point-and-click interface. This chapter will guide you through the steps required to build this app.

What do other learners have to say?

Devon

“I've used other sites, but DataCamp's been the one that I've stuck with.”

Devon Edwards Joseph

Lloyd's Banking Group

Louis

“DataCamp is the top resource I recommend for learning data science.”

Louis Maiden

Harvard Business School

Ronbowers

“DataCamp is by far my favorite website to learn from.”

Ronald Bowers

Decision Science Analytics @ USAA

Dean Attali
Dean Attali

Founder & Lead R-Shiny Consultant at AttaliTech Ltd

Dean is an R-Shiny consultant with years of experience as a software engineer at Google, IBM, and various startups. He is the author of several R packages, including shinyjs, timevis, and ggExtra, as well as the author of a popular R-Shiny blog . Dean holds a MSc in Bioinformatics (U of British Columbia) and a Bachelors of Computer Science (U of Waterloo).

See More
Collaborators
  • Richie Cotton

    Richie Cotton

Icon Icon Icon professional info
Do you have 5 minutes to help us improve our navigation?
I'll do it No thanks