Extending Shiny by enhancing user experience with shinyLP

😀 + 💻

Jasmine Dumas | @jasdumas | jasdumas.github.io

January 12, 2017

Hi Portland!

I began buildng shiny apps in 2014

shinyGEO

Why should you care about this?

What could go wrong when we don’t include good user experience features?

The shiny web framework package makes it easier to create R-powered web apps

Additional shiny add-on packages that increase usability

Cool shiny examples from the internet!

New Zealand Tourism website

New Zealand App

Tweet Analyzer

Tweet Analyzer

Twin Cities Bus

Twin Cities

Hartford Connecticut Crime

Hartford Crime

Letsrun.com Shoe Database

lets run db

Wikimedia Search Metrics Dashboard

wiki dash

A quote from an influential R Programmer…

Here is the point…

We, as shiny developers need to prioritize user experience now that apps are getting more advanced and the user base is expanding!

There are ways to do that with landing home pages!

Example landing home page

wiki dash

I developed an R package that helps make landing home pages called shinyLP

jumbotron <- function(header , content, button = TRUE,  ...){

  button_label = c(...)

  if (button){
    HTML(paste0("<div class='jumbotron'>
                <h1> ", header, "</h1>
                <p>", content ,"</p>",
                "<p><a class='btn btn-primary btn-lg' button id='tabBut'>", button_label, "</a></p>
                </div>") )

  } else {
    HTML(paste0("<div class='jumbotron'>
                <h1> ", header, "</h1>
                <p>", content ,"</p>",
                "</div>") )
  }

}

Orange you glad I’m showing examples of shinyLP…

shinyGEO

This shinyLP example is a-peeling…

shinyGEO

The End