-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rikolto_dashboard.Rmd
199 lines (143 loc) · 4.64 KB
/
Rikolto_dashboard.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
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
---
title: "RIKOLTO"
output: flexdashboard::flex_dashboard
---
```{r setup, include=FALSE}
library(flexdashboard)
source("color.R")
source("map.R")
source("Demographics.R")
source("ProductionCommercialization.R")
source("PlanningInvestment.R")
source("Resilience.R")
source("Inclusion.R")
library(DT)
```
<style>
.navbar {
background-color:#b6bf00;
border-color:white;
}
.navbar-brand {
color:black!important;
}
</style>
Map
=====================================
### Rikolto Participants
```{r}
map
```
Demographics
=====================================
Column {data-width=600}
-------------------------------------
### Number of farmers using intensive, intercropping, monocrop and non-intensive rice system (only 1 rice season per year) production type by commodity
```{r}
ggplotly(prod_org) %>%
config(autosizable=TRUE, fillFrame=TRUE, displayModeBar=FALSE)
```
Column {data-width=400}
-------------------------------------
### Gender counts and ratio by commodity
```{r}
counts %>%
DT::datatable()
```
### Number of farmers less than or equal to 35 years old and number of farmers over 35 years old by commodity
```{r}
ggplotly(age) %>%
config(autosizable=TRUE, fillFrame=TRUE, displayModeBar=FALSE)
```
Production & Commercialization {data-orientation=rows}
=====================================
Row
-------------------------------------
### Distribution of sizes of the farmland dedicated to cultivation by commodity
```{r}
farmland_plot
```
### Distribution of how many tons of commodity farmers produced last year by commodity
```{r}
ggplotly(p)%>%
config(autosizable=TRUE, fillFrame=TRUE, displayModeBar=FALSE)
```
Row
-------------------------------------
### Relationaship between tonnes of commodity produced and sold by commodity (click on the commodity on the legend to single it out)
```{r}
ggplotly(commercialization_plot)%>%
config(autosizable=TRUE, fillFrame=TRUE, displayModeBar=FALSE)
```
### Average response to a question "How many tons of your commodity did you produce last year?" by farmer organization
```{r}
ggplotly(l)%>%
config(autosizable=TRUE, fillFrame=TRUE, displayModeBar=FALSE)
```
Planning & Investment {data-orientation=rows}
=====================================
Row
-------------------------------------
### Percentage of farmers planning production of their focus crop based on the following aspects (hover over color segments to see the aspects)
```{r}
ggplotly(drivers_plot)%>%
config(autosizable=TRUE, fillFrame=TRUE, displayModeBar=FALSE)
```
### Distribution of sources of access to credits or loans
```{r}
access_plot
```
Row
-------------------------------------
### Number and proportion of farmers listing specific reason for why they did not have access to credits or loans
```{r}
why_no_acess %>%
DT::datatable()
```
### Number of farmers listing the following aspects that motivate any new investments to improve production of the focus crop
```{r}
ggplotly(k)%>%
config(autosizable=TRUE, fillFrame=TRUE, displayModeBar=FALSE)
```
Inclusiveness & Gender
=====================================
Column
-------------------------------------
### Participation in the value chain: Who typically represents the household when trainings are offered by farmer organisation
```{r}
ggplotly(training_plot)%>%
config(autosizable=TRUE, fillFrame=TRUE, displayModeBar=FALSE)
```
### Participation in the value chain - opinion by age and sex: Compared with other members, is your opinion respected/taken into account within your farmer organisation?
```{r}
opinion_plot
```
Column
-------------------------------------
### Average degree of control of decision making on how the income from the focus crop is used by organisation and respondent's gender
```{r}
ggplotly(decisions_plot)%>%
config(autosizable=TRUE, fillFrame=TRUE, displayModeBar=FALSE)
```
Resilience
=====================================
Column
-------------------------------------
### Average frequency of access to various information by commodity (from 0:I have no access to this information to 3:I can access this information any time I want)
```{r}
ggplotly(info_plot)%>%
config(autosizable=TRUE, fillFrame=TRUE, displayModeBar=FALSE)
```
### Distribution of the popularity of shock copying strategies by commodity
```{r}
ggplotly(strategy)%>%
config(autosizable=TRUE, fillFrame=TRUE, displayModeBar=FALSE)
```
Column
-------------------------------------
### Intensity and frequency of shocks by organisation and commodity
```{r}
shock %>%
DT::datatable(options = list(
pageLength = 25))
```