Commit 2711e1a3 authored by Stephanie's avatar Stephanie
Browse files

updated Help, raw scetched Controlls and not working try of CoCoQuest import

parent d88a581e
......@@ -36,22 +36,21 @@ server <- function(input, output) {
#coconut.df$timestamp <- anytime((as.numeric(coconut.df$timestamp)/1000))
#TODO: CoCoQuest Output --> Ansätze data[] raus nehmen oder flatten richtig funken
output$file2 <- renderDataTable({
inFile <- input$file2
if (is.null(inFile))
json_data_quest <- fromJSON(paste(inFile$datapath, sep = ""), flatten = TRUE)
#json_data <-map()
json_data_quest <- fromJSON(paste(inFile$datapath, sep = ""), simplifyVector = TRUE, simplifyDataFrame = simplifyVector,
simplifyMatrix = simplifyVector, flatten = FALSE)
#json_data <-map() <-- ansatz zum parsen?
......@@ -19,6 +19,7 @@ ui <- dashboardPage(
menuItem("Help", tabName = "help", icon = icon("book"))
# tags$link(rel = "stylesheet", type = "text/css", href = "custom.css")
......@@ -49,7 +50,7 @@ ui <- dashboardPage(
h2("CoConUT Data here:"),
h2("CoCoQuest Data here:"),
......@@ -61,14 +62,20 @@ ui <- dashboardPage(
# Controlls tab content
tabItem(tabName = "controlls",
h2("Controlls here:"),
#TODO: SelectInput --> Get data out of loaded json to select it
checkboxInput("histogram", "Histogram", FALSE),
#selectInput('in6', 'Data',, multiple=TRUE, selectize=TRUE),
selectInput('in1', "x-Axis: " , "Bluetoothdevices", multiple=TRUE, selectize=TRUE),
selectInput('in4', "y-Axis: " , "Bluetoothdevices", multiple=TRUE, selectize=TRUE),
checkboxInput("timeline", "Timeline", FALSE),
#selectInput('in6', 'Data',, multiple=TRUE, selectize=TRUE),
selectInput('in2', "x-Axis: " , "Bluetoothdevices", multiple=TRUE, selectize=TRUE),
selectInput('in4', "y-Axis: " , "Bluetoothdevices", multiple=TRUE, selectize=TRUE),
checkboxInput("map", "Map", FALSE),
#selectInput('in6', 'Data',, multiple=TRUE, selectize=TRUE),
#selectInput('in6', 'Data',, multiple=TRUE, selectize=TRUE)
selectInput('in3', "x-Axis: " , "Bluetoothdevices", multiple=TRUE, selectize=TRUE),
selectInput('in4', "y-Axis: " , "Bluetoothdevices", multiple=TRUE, selectize=TRUE),
selectInput('in4', "x-Axis: " , "Bluetoothdevices", multiple=TRUE, selectize=TRUE),
selectInput('in4', "y-Axis: " , "Bluetoothdevices", multiple=TRUE, selectize=TRUE)
# Dashboard tab content
......@@ -119,8 +126,11 @@ ui <- dashboardPage(
Then the name of the selected file and a loadingbar will apear. 'Upload complete' will show you that the upload worked and is finished.", br(),
"Please make sure, that you upload the right data into the right field.", br(),
"First field: CoConUT and second field: CoCoQuest. Otherwise the visualization won't work.",
"After correctly loading up the right json files, in this vies will apear a table that shows the data that were red from the jsons.", br(),
"", br(),
"On this page you are able to select the visualizations you want to use and which data should be in them.", br(),
"To show a visualization on the dashboard you have to enable the right checkbox. After that you need to select the x- and y-axis for this visualisation and then it will be added to the dashboard. ",
"", br()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment