| --- |
| title: "IDS theme for revealjs" |
| subtitle: "a demo" |
| author: Marc Kupietz |
| institute: "IDS Mannheim" |
| date: "Mannheim, 2023-10-08" |
| output: |
| revealjs::revealjs_presentation: |
| theme: ids |
| highlight: pygments |
| self_contained: false |
| reveal_plugins: |
| - search |
| - zoom |
| - notes |
| - chalkboard |
| - menu |
| reveal_options: |
| slideNumber: true |
| chalkboard: |
| theme: chalkboard |
| toggleNotesButton: true |
| menu: |
| numbers: true |
| --- |
| |
| ```{r setup, include=FALSE} |
| knitr::opts_chunk$set(echo = FALSE) |
| library(idsThemeR) |
| library(highcharter) |
| library(tidyverse) |
| ``` |
| |
| ## R Markdown |
| |
| This is an R Markdown presentation. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see <http://rmarkdown.rstudio.com>. |
| |
| When you click the **Knit** button a document will be generated that includes both content as well as the output of any embedded R code chunks within the document. |
| |
| ## Slide with Bullets |
| ### Subheading |
| |
| - Bullet 1 |
| - Bullet 2 |
| - Bullet 3 |
| |
| <aside class="notes"> |
| Here are some notes. |
| </aside> |
| |
| ::: footer |
| Custom footer text |
| ::: |
| |
| ## Slide with R Output |
| |
| ```{r cars, echo = TRUE} |
| summary(cars) |
| ``` |
| |
| ## Slide with Plot |
| |
| ```{r pressure} |
| plot(pressure) |
| ``` |
| |
| ## Registered Users |
| ### (for COSMAS II and KorAP) |
| |
| ```{r registrations, message=F, warning=F} |
| registrierungen <- |
| read_tsv("http://www.ids-mannheim.de/cosmas2/projekt/intstats/registrierungen.csv") %>% |
| add_column(group = "registered users") |
| |
| hc <- registrierungen %>% |
| hchart("line", hcaes(x=date, y=registered, group=group)) %>% |
| hc_add_theme(hc_theme_ids_light()) %>% |
| hc_yAxis(title=list(text="")) %>% |
| hc_xAxis(title=list(text="")) %>% |
| hc_legend(element_blank()) %>% |
| hc_size(height=500, width=900) |
| hc |
| |
| ``` |