-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.Rmd
46 lines (31 loc) · 852 Bytes
/
index.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
---
title: "Plumber Report POC"
author: "Reto Wyss"
date: "10/17/2018"
output: html_document
---
Create links to the report endpoint
## rnorm
```{r echo=TRUE, message=FALSE, warning=FALSE}
library(htmltools)
library(purrr)
n <- c(20, 50, 100, 1000)
txt <- "Click any of the links to generate a report."
itm <- function(x) {
tags$li(tags$a(
paste("rnorm N =", x),
href = paste0("/rnorm/", x),
target = "blank"
))
}
links <- map(n, itm)
div(tags$p(txt), tags$ul(links))
```
## Swiss Public Transport Time Table
Endpoint: /swiss-public-transport-timetable/*from*/*to*
This creates a pdf displaying a timetable.
* [Burgdorf to Bern](/swiss-public-transport-timetable/Burgdorf/Bern)
* [Genf to Bern](/swiss-public-transport-timetable/Genf/Bern)
# Plotly
Endpoint: /plotly/*species*
* [Iris without setosa](/plotly/setosa)