-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdmp_flexdash.Rmd
More file actions
137 lines (70 loc) · 2.2 KB
/
Copy pathdmp_flexdash.Rmd
File metadata and controls
137 lines (70 loc) · 2.2 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
---
title: "TITLE DMP DASHBOARD"
runtime: shiny
output:
flexdashboard::flex_dashboard:
css: www/css/custom.css
orientation: rows
vertical_layout: fill
source_code: embed
navbar:
- { title: "DMP information",
href: "REFERENCE TO PUBLIC/INTERNAL LINK WITH MORE INFORMATION",
align: right}
- { title: "Mail us",
href: "mailto:EMAIL@INSTITUTE.LAND",
align: right }
---
```{r child = 'dash_comps/global_setup.Rmd'}
# running any setup and global actions specified
```
```{r child = 'dash_comps/filter_data.Rmd'}
# Running general reactive function to return a filtered dataset based on input selection.
```
Inputs {.sidebar data-width=195}
-----------------------------------------------------------------------
```{r picture, echo = F, out.width = '100%'}
# Adding logo
knitr::include_graphics("www/logo/fake_logo_dmp_flex.svg")
```
```{r child = 'dash_comps/buttons_input.Rmd'}
# Adding input selection buttons
```
```{r child = 'dash_comps/datatable_general_stats.Rmd'}
# Rendering datatable with general statistics.
```
```{r child = 'dash_comps/button_clear.Rmd'}
# Adding a clear button to clear selections made in charts.
```
```{r child = 'dash_comps/button_download.Rmd'}
# Adding download to csv button.
```
Row
-----------------------------------------------------------------------
### <!-- ### chart on DMP status -->
```{r child = 'dash_comps/button_info_status.Rmd'}
# Adding an info button.
```
```{r child = 'dash_comps/chart_status.Rmd'}
# Rendering chart DMP status.
```
### <!-- ### chart on DMP templates -->
```{r child = 'dash_comps/button_info_templates.Rmd'}
# Adding an info button.
```
```{r child = 'dash_comps/chart_templates.Rmd'}
# Rendering chart dmp templates.
```
### <!-- ### chart on DMP completion rates -->
```{r child = 'dash_comps/button_info_completion.Rmd'}
# Adding an info button.
```
```{r child = 'dash_comps/chart_completion.Rmd'}
# Rendering chart dmp completion.
```
Row
-----------------------------------------------------------------------
### <!-- Full DMP dataset -->
```{r child = 'dash_comps/datatable_main.Rmd'}
# Rendering datatable of the DMP dataset.
```