forked from luanfiorentin/consult
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathserver.R
37 lines (23 loc) · 883 Bytes
/
server.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
# -----------------------------------------------------------------------------
# Begin: Server
# ------------------------------------------------------------------------------
# Processamento dos dados:
server <- function(input, output, session) { # Begin: Server
#
output$banco <- renderDataTable({
data %>%
out()
})
output$downloadData <- downloadHandler(
filename = function() {
"BaseDeDados.xlsx"
},
content = function(file) {
writexl::write_xlsx(data, path = file)
}
)
#
} # End: Server
# -----------------------------------------------------------------------------
# End: Server
# ------------------------------------------------------------------------------