14
useR!2019 Our Journey with Shiny Toulouse July 12, 2019 Victor Perrier

useR!2019 Our Journey with Shiny - GitHub Pages€¦ · Shiny Toulouse July 12, 2019 Victor Perrier. Shiny & us History & context When ? Developing applications since 2014 What ?

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: useR!2019 Our Journey with Shiny - GitHub Pages€¦ · Shiny Toulouse July 12, 2019 Victor Perrier. Shiny & us History & context When ? Developing applications since 2014 What ?

useR!2019Our Journey with

Shiny

ToulouseJuly 12, 2019 Victor Perrier

Page 2: useR!2019 Our Journey with Shiny - GitHub Pages€¦ · Shiny Toulouse July 12, 2019 Victor Perrier. Shiny & us History & context When ? Developing applications since 2014 What ?

Shiny & usHistory & context

When ?

Developing applications

since 2014

What ?

Dashboard & reportings

For whom ?

Mostly for operatives /

Marketing analyst

Page 3: useR!2019 Our Journey with Shiny - GitHub Pages€¦ · Shiny Toulouse July 12, 2019 Victor Perrier. Shiny & us History & context When ? Developing applications since 2014 What ?

shinyWidgetsMotivation

All our apps starts to looks the same

No more wow effect

New widgets controls

Boring

Page 4: useR!2019 Our Journey with Shiny - GitHub Pages€¦ · Shiny Toulouse July 12, 2019 Victor Perrier. Shiny & us History & context When ? Developing applications since 2014 What ?

shinyWidgetsMy first package was born

March 2017: first

release on CRAN

March 2019: version

0.4.8 released

28 reverse

dependencies

13 contributors (with a

special thanks to David

Granjon)

thanks to Fanny for all her ideas and encouragement

https://github.com/dreamRs/shinyWidgets

Page 5: useR!2019 Our Journey with Shiny - GitHub Pages€¦ · Shiny Toulouse July 12, 2019 Victor Perrier. Shiny & us History & context When ? Developing applications since 2014 What ?

shinyWidgetsSelect with « select all » button

Material Switch

Dropdown menu

Checkboxes & radios with colors, icons and animations

Examples

https://github.com/dreamRs/shinyWidgets

Page 6: useR!2019 Our Journey with Shiny - GitHub Pages€¦ · Shiny Toulouse July 12, 2019 Victor Perrier. Shiny & us History & context When ? Developing applications since 2014 What ?

shinyWidgetsHow it works

JavaScript libraries

CSS libraries

Shiny input bindings

https://github.com/dreamRs/shinyWidgets

Page 7: useR!2019 Our Journey with Shiny - GitHub Pages€¦ · Shiny Toulouse July 12, 2019 Victor Perrier. Shiny & us History & context When ? Developing applications since 2014 What ?

shinylogs

Why

Motivation

What

How

How users interact with our

application ?

Did they use widgets we put in the application ?

Record all inputs that are changed

(outputs and errors too)

https://github.com/dreamRs/shinylogs

Page 8: useR!2019 Our Journey with Shiny - GitHub Pages€¦ · Shiny Toulouse July 12, 2019 Victor Perrier. Shiny & us History & context When ? Developing applications since 2014 What ?

shinylogsExample

https://github.com/dreamRs/shinylogs

Page 9: useR!2019 Our Journey with Shiny - GitHub Pages€¦ · Shiny Toulouse July 12, 2019 Victor Perrier. Shiny & us History & context When ? Developing applications since 2014 What ?

shinybusy

Why

Motivation

What

How

Give to users some feedback when

something is running server-side

Add a global indicator into an application with one line of code

Make a GIF play and pause or add a

progress bar

https://github.com/dreamRs/shinybusy

Page 10: useR!2019 Our Journey with Shiny - GitHub Pages€¦ · Shiny Toulouse July 12, 2019 Victor Perrier. Shiny & us History & context When ? Developing applications since 2014 What ?

shinybusyExample

https://github.com/dreamRs/shinybusy

Page 11: useR!2019 Our Journey with Shiny - GitHub Pages€¦ · Shiny Toulouse July 12, 2019 Victor Perrier. Shiny & us History & context When ? Developing applications since 2014 What ?

shinymanager

Why

Motivation

What

How

Secure single application

Administrator mode to manage who can access

application

Use Shiny HTTP request and Shiny

modules + encrypted credentials

Built withhttps://github.com/datastorm-open/shinymanager

Page 12: useR!2019 Our Journey with Shiny - GitHub Pages€¦ · Shiny Toulouse July 12, 2019 Victor Perrier. Shiny & us History & context When ? Developing applications since 2014 What ?

Example

Built with

shinymanager

https://github.com/datastorm-open/shinymanager

Page 13: useR!2019 Our Journey with Shiny - GitHub Pages€¦ · Shiny Toulouse July 12, 2019 Victor Perrier. Shiny & us History & context When ? Developing applications since 2014 What ?

Example

Built with

shinymanager

https://github.com/datastorm-open/shinymanager

Page 14: useR!2019 Our Journey with Shiny - GitHub Pages€¦ · Shiny Toulouse July 12, 2019 Victor Perrier. Shiny & us History & context When ? Developing applications since 2014 What ?

Thanks ☺Stay in touch

Twitter : @dreamrs_fr

Our Shiny galery : http://shinyapps.dreamrs.fr/

Website : https://www.dreamrs.fr/

GitHub : https://github.com/dreamRs