forked from jeremy-allen/rstudio-tips
-
Notifications
You must be signed in to change notification settings - Fork 0
/
landing_page.Rmd
69 lines (52 loc) · 1.36 KB
/
landing_page.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
---
title: "Series: RStudio Tips and Tricks"
output:
html_document:
highlight: zenburn
theme:
bg: "#303436"
fg: "#9da9af"
primary: "#ff8080"
base_font:
google: "Roboto"
code_font:
google: "JetBrains Mono"
editor_options:
chunk_output_type: console
resource_files: images/skate_horizontal.jpg
-
---
```{r setup, include=FALSE}
library(connectwidgets)
library(dplyr)
library(stringr)
knitr::opts_chunk$set(echo = FALSE, message = FALSE, warning = FALSE)
client <- connect(
server = Sys.getenv("rsc_server"),
api_key = Sys.getenv("rsc_reports_api_key")
)
all_content <- client %>%
content()
tips <- all_content %>%
filter(
owner_username == "jeremy.allen",
str_detect(name, "^tips.*")
) %>%
arrange(name)
```
![Photo by Nadine Shaabana https://unsplash.com/photos/kH2AV7xZQj4](images/skate_horizontal.jpg)
Photo by Nadine Shaabana https://unsplash.com/photos/kH2AV7xZQj4
<br>
<br>
```{r cards}
tips %>%
rsc_card()
```
<br>
------------------------------------------------------------------------
Slides for the RStudio Tips and Tricks Series:
<https://jeremy-allen.github.io/rstudio-tps/>
Code:
<https://github.com/jeremy-allen/rstudio-tips>
------------------------------------------------------------------------
Originally delivered as a workshop at the NHS-R Conference 2021