-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuiStatusDateSelect.R
More file actions
31 lines (30 loc) · 1.35 KB
/
uiStatusDateSelect.R
File metadata and controls
31 lines (30 loc) · 1.35 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
# UI for selecting a date-range
# last update: 2016-10-06
uiStatusDateSelect <- function(){
fluidRow(
column(4,
dateRangeInput('dateRange',
language = 'de',
separator = ' bis ',
format = 'dd.mm.yyyy',
label = 'Zeitfenster',
start = as.Date(Sys.Date() %m-% 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
)
)
)
}