Highlighting Single Values Elaine McVey Director of Quantitative - - PowerPoint PPT Presentation

highlighting single values
SMART_READER_LITE
LIVE PREVIEW

Highlighting Single Values Elaine McVey Director of Quantitative - - PowerPoint PPT Presentation

DataCamp Building Dashboards with flexdashboard BUILDING DASHBOARDS WITH FLEXDASHBOARD Highlighting Single Values Elaine McVey Director of Quantitative Mobility TransLoc DataCamp Building Dashboards with flexdashboard DataCamp Building


slide-1
SLIDE 1

DataCamp Building Dashboards with flexdashboard

Highlighting Single Values

BUILDING DASHBOARDS WITH FLEXDASHBOARD

Elaine McVey

Director of Quantitative Mobility TransLoc

slide-2
SLIDE 2

DataCamp Building Dashboards with flexdashboard

slide-3
SLIDE 3

DataCamp Building Dashboards with flexdashboard

slide-4
SLIDE 4

DataCamp Building Dashboards with flexdashboard

Gauges

gauge(value = pct_subscriber_trips, min = 0, max = 100) gauge(value = pct_subscriber_trips, min = 0, max = 100, sectors = gaugeSectors( success = c(90, 100), warning = c(70, 89), danger = c(0, 69) ), symbol = '%')

slide-5
SLIDE 5

DataCamp Building Dashboards with flexdashboard

Links

valueBox(prettyNum(num_trips, big.mark = ','), caption = 'Total Daily Trips', icon = 'fa-bicycle', href = '#trip-raw-data')

slide-6
SLIDE 6

DataCamp Building Dashboards with flexdashboard

Let's practice!

BUILDING DASHBOARDS WITH FLEXDASHBOARD

slide-7
SLIDE 7

DataCamp Building Dashboards with flexdashboard

Dashboard Tables

BUILDING DASHBOARDS WITH FLEXDASHBOARD

Elaine McVey

Director of Quantitative Mobility TransLoc

slide-8
SLIDE 8

DataCamp Building Dashboards with flexdashboard

Basic Tables

library(knitr) kable(my_data_df)

slide-9
SLIDE 9

DataCamp Building Dashboards with flexdashboard

Web-friendly Tables

library(DT) datatable(my_data_df)

slide-10
SLIDE 10

DataCamp Building Dashboards with flexdashboard

Eliminating Row Numbering

library(DT) datatable(my_data_df, rownames = FALSE)

slide-11
SLIDE 11

DataCamp Building Dashboards with flexdashboard

Changing Rows per Page

library(DT) datatable(my_data_df, rownames = FALSE,

  • ptions = list(pageLength = 15))
slide-12
SLIDE 12

DataCamp Building Dashboards with flexdashboard

Adding Buttons

library(DT) datatable( my_data_df, rownames = FALSE, extensions = 'Buttons', options = list( dom = 'Bfrtip', buttons = c('copy', 'csv', 'excel', 'pdf', 'print') ) )

slide-13
SLIDE 13

DataCamp Building Dashboards with flexdashboard

More Information on DT

https://rstudio.github.io/DT/

slide-14
SLIDE 14

DataCamp Building Dashboards with flexdashboard

Let's practice!

BUILDING DASHBOARDS WITH FLEXDASHBOARD

slide-15
SLIDE 15

DataCamp Building Dashboards with flexdashboard

Text for Dashboards

BUILDING DASHBOARDS WITH FLEXDASHBOARD

Elaine McVey

Director of Quantitative Mobility TransLoc

slide-16
SLIDE 16

DataCamp Building Dashboards with flexdashboard

Captions

### Trip Durations ```{r} trip_durations_graph ``` > Durations of more than 60 minutes are excluded from this graph.

slide-17
SLIDE 17

DataCamp Building Dashboards with flexdashboard

Captions with Inline Code

### Trip Durations ```{r} trip_durations_graph ``` > Durations of more than 60 minutes are excluded from this graph. `r num_long_trips` trips were excluded based on long duration.

slide-18
SLIDE 18

DataCamp Building Dashboards with flexdashboard

Captions with Inline Code

slide-19
SLIDE 19

DataCamp Building Dashboards with flexdashboard

Storyboards

slide-20
SLIDE 20

DataCamp Building Dashboards with flexdashboard

Converting to a Storyboard

slide-21
SLIDE 21

DataCamp Building Dashboards with flexdashboard

Creating the Story

slide-22
SLIDE 22

DataCamp Building Dashboards with flexdashboard

Adding Storyboard Commentary

slide-23
SLIDE 23

DataCamp Building Dashboards with flexdashboard

Mixing Storyboards In

slide-24
SLIDE 24

DataCamp Building Dashboards with flexdashboard

Let's practice!

BUILDING DASHBOARDS WITH FLEXDASHBOARD