Geoeasy commited on
Commit
8cbafd4
·
verified ·
1 Parent(s): 33afdb5

Delete app.r

Browse files
Files changed (1) hide show
  1. app.r +0 -60
app.r DELETED
@@ -1,60 +0,0 @@
1
- library(shiny)
2
- library(readxl)
3
- library(dlookr)
4
- library(rpivotTable)
5
-
6
- ui <- fluidPage(
7
- titlePanel("EDA no Browser – rpivotTable + dlookr"),
8
-
9
- sidebarLayout(
10
- sidebarPanel(
11
- h4("Dataset"),
12
- p("Arquivo: status1.xlsx"),
13
-
14
- actionButton("diag", "Gerar diagnóstico dlookr")
15
- ),
16
-
17
- mainPanel(
18
- tabsetPanel(
19
- tabPanel(
20
- "Pivot Table",
21
- rpivotTableOutput("pivot")
22
- ),
23
- tabPanel(
24
- "Diagnóstico",
25
- uiOutput("diag_ui")
26
- )
27
- )
28
- )
29
- )
30
- )
31
-
32
- server <- function(input, output, session) {
33
-
34
- STATUS <- reactive({
35
- read_excel("status1.xlsx")
36
- })
37
-
38
- output$pivot <- renderRpivotTable({
39
- rpivotTable(STATUS())
40
- })
41
-
42
- observeEvent(input$diag, {
43
-
44
- diagnose_web_report(
45
- STATUS(),
46
- output_dir = "www",
47
- output_file = "diagnostico.html"
48
- )
49
-
50
- output$diag_ui <- renderUI({
51
- tags$iframe(
52
- src = "diagnostico.html",
53
- width = "100%",
54
- height = "800px"
55
- )
56
- })
57
- })
58
- }
59
-
60
- shinyApp(ui, server)