blob: 1dc5cc96762203ccee82a5cab6520a8a06424091 [file] [log] [blame]
Marc Kupietza737b1b2023-10-07 09:32:20 +02001---
Marc Kupietzdf0eda92023-10-07 20:50:00 +02002title: "IDS theme for revealjs"
3subtitle: "a demo"
Marc Kupietza737b1b2023-10-07 09:32:20 +02004author: Marc Kupietz
5institute: "IDS Mannheim"
Marc Kupietz2c094622023-10-08 14:19:47 +02006date: "Mannheim, 2023-10-08"
Marc Kupietza737b1b2023-10-07 09:32:20 +02007output:
8 revealjs::revealjs_presentation:
9 theme: ids
10 highlight: pygments
11 self_contained: false
12 reveal_plugins:
13 - search
14 - zoom
15 - notes
16 - chalkboard
17 - menu
18 reveal_options:
Marc Kupietz7c8f7de2023-10-07 11:42:29 +020019 slideNumber: true
Marc Kupietza737b1b2023-10-07 09:32:20 +020020 chalkboard:
21 theme: chalkboard
22 toggleNotesButton: true
23 menu:
24 numbers: true
Marc Kupietz3b217192023-10-08 20:56:36 +020025lang: en
26bibliography: references.bib
27csl: "https://raw.githubusercontent.com/ICLC-10/Zotero/master/styles/ICLC-10.csl"
Marc Kupietza737b1b2023-10-07 09:32:20 +020028---
29
30```{r setup, include=FALSE}
Marc Kupietz3b217192023-10-08 20:56:36 +020031knitr::opts_chunk$set(echo = FALSE, message = FALSE, warning = FALSE)
Marc Kupietz2c094622023-10-08 14:19:47 +020032library(idsThemeR)
33library(highcharter)
34library(tidyverse)
Marc Kupietza737b1b2023-10-07 09:32:20 +020035```
36
37## R Markdown
38
Marc Kupietz3b217192023-10-08 20:56:36 +020039This 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 [@R-rmarkdown] see <http://rmarkdown.rstudio.com>.
Marc Kupietza737b1b2023-10-07 09:32:20 +020040
41When 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.
42
43## Slide with Bullets
44### Subheading
45
46- Bullet 1
47- Bullet 2
48- Bullet 3
49
50<aside class="notes">
51Here are some notes.
52</aside>
53
54::: footer
55Custom footer text
56:::
57
58## Slide with R Output
59
60```{r cars, echo = TRUE}
61summary(cars)
62```
63
64## Slide with Plot
65
66```{r pressure}
67plot(pressure)
68```
69
Marc Kupietz2c094622023-10-08 14:19:47 +020070## Registered Users
71### (for COSMAS II and KorAP)
72
73```{r registrations, message=F, warning=F}
74registrierungen <-
75 read_tsv("http://www.ids-mannheim.de/cosmas2/projekt/intstats/registrierungen.csv") %>%
76 add_column(group = "registered users")
77
78 hc <- registrierungen %>%
79 hchart("line", hcaes(x=date, y=registered, group=group)) %>%
80 hc_add_theme(hc_theme_ids_light()) %>%
81 hc_yAxis(title=list(text="")) %>%
82 hc_xAxis(title=list(text="")) %>%
83 hc_legend(element_blank()) %>%
84 hc_size(height=500, width=900)
85 hc
86
87```
Marc Kupietz3b217192023-10-08 20:56:36 +020088# References
89