Giter VIP home page Giter VIP logo

statsgary / presentation-template Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cdu-data-science-team/presentation-template

1.0 1.0 0.0 6.05 MB

Nottinghamshire Healthcare NHS Foundation Trust template slides in R using {xaringan}. These slides are a copy of those available in the {nottsHCMethods} package.

Home Page: https://cdu-data-science-team.github.io/presentation-template/index.html#1

License: Creative Commons Zero v1.0 Universal

CSS 1.16% HTML 98.04% JavaScript 0.81%

presentation-template's Introduction

Slide template

This is a xaringan repository to produce Nottinghamshire Healthcare NHS Foundation Trust template slides.

Viewing xaringan slides whilst building

Xaringan slides can be viewed in the viewer (in the bottom right hand of R Studio) live by typing

xaringan::inf_mr()

into the console. Any writing will appear automatically but for some other things, like adding images, once saved from the editor these update in the viewer. Knitting the document is also possible even with inf_mr() in use.

To stop (a message will appear with this information in the console), type

servr::daemon_stop(1)

or restart the R session with Ctrl + Shift + F10 . Note that if more than one session of inf_mr() has been started the daemon_stop() may be 2, or 3 and so on.

Rendering

The slides will render in GitHub from the main branch if the repository is set to GitHub Pages are enabled. Go to Settings:

Standard setting are main and root in the selections. Note that it can take a few minutes for changes to be reflected in GitHub pages.

Slide size

The slide size can be changed in the YAML from ratio: "16:9" to ratio: "4:3".

Self-contained (html for sharing)

The slides have self_contained: true in the YAML so that just the html output can be emailed alone. Otherwise it will require the folder and files in libs, img and css to be shared along with the html.

Linking and using the embedded slides

Xaringan slides can be embedded into urls. Using the GitHub link opens the slides in the web browser which is useful if resizing is required as opening the slides, as for PowerPoint, means the slides fill the whole screen.

https://cdu-data-science-team.github.io/presentation-template/index.html#1

Also, xaringan allows for slides to appear within a web page and retain their interactivity so they can be viewed in the page (no requirement to open in another page). Note that this code will appear in the README.md as raw html but it does show in the README.html.

<iframe src="https://cdu-data-science-team.github.io/presentation-template/index.html#1" width="600" height="400" loading="lazy" allowfullscreen></iframe> <script>fitvids('.shareagain', {players: 'iframe'});</script>

Acknowledgements

Acknowledgements: the professional look of this presentation, using NHS and Nottinghamshire Healthcare NHS Foundation Trust colour branding, exists because of the amazing work of Silvia Canelón, details of the workshops she ran at the NHS-R Community conference.

Twitter

GitHub Clinical Development Unit Data Science Team

Mail

presentation-template's People

Stargazers

Gary Hutson avatar

Watchers

James Cloos avatar

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.