-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappStatusDateSelect.R
38 lines (37 loc) · 1.62 KB
/
appStatusDateSelect.R
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
# UI for selecting a date-range
# last update: 2016-10-06
appStatusDateSelect <- function(){
fluidRow(
column(4,
dateRangeInput('dateRange',
language = 'de',
separator = ' bis ',
format = 'dd.mm.yyyy',
label = 'Zeitfenster',
start = as.Date(Sys.Date() - months(6)),
end = Sys.Date()
)
),
column(4,
selectInput('dateSelect',
label = 'Auswahl',
choices = c('letzte Woche'='1',
'letztes Monat'='2',
'letzten 2 Monate'='3',
'letzten 6 Monate'='4',
'aktuelles Jahr'='5',
'letztes Jahr'='6',
'alle Daten'='10',
'individuell'='7'),
selected = 4
)
),
column(4,
selectInput('babySelect',
label = 'Baby',
choices = c('alle'),
selected = 'alle'
)
)
)
}