Christopher Johnson (WMDE) has uploaded a new change for review.
https://gerrit.wikimedia.org/r/250214
Change subject: loads data outside of shiny removes observer function
......................................................................
loads data outside of shiny
removes observer function
Change-Id: Ifa5dbb76417824bfde7158cd61a4e73b57e4c195
---
M server.R
1 file changed, 17 insertions(+), 11 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/wikidata/analytics/dashboard
refs/changes/14/250214/1
diff --git a/server.R b/server.R
index a0b771c..8835f6c 100644
--- a/server.R
+++ b/server.R
@@ -14,20 +14,26 @@
updateProgress(detail = "finished")
}
}
+get_local_datasets()
+get_local_sparql_results()
+get_remote_datasets()
+get_graphite_datasets()
+load_rdf_model()
+get_rdf_objects()
#Start Server
function(input, output, session) {
- progress <- shiny::Progress$new()
- progress$set(message = "Fetching data", value = 0)
- on.exit(progress$close())
- updateProgress <- function(value = NULL, detail = NULL) {
- if (is.null(value)) {
- value <- progress$getValue()
- value <- value + (progress$getMax() - value) / 6
- }
- progress$set(value = value, detail = detail)
- }
- get_data(updateProgress)
+# progress <- shiny::Progress$new()
+# progress$set(message = "Fetching data", value = 0)
+# on.exit(progress$close())
+# updateProgress <- function(value = NULL, detail = NULL) {
+# if (is.null(value)) {
+# value <- progress$getValue()
+# value <- value + (progress$getMax() - value) / 6
+# }
+# progress$set(value = value, detail = detail)
+# }
+# get_data(updateProgress)
observe({
context <- parseQueryString(session$clientData$url_search)
--
To view, visit https://gerrit.wikimedia.org/r/250214
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifa5dbb76417824bfde7158cd61a4e73b57e4c195
Gerrit-PatchSet: 1
Gerrit-Project: wikidata/analytics/dashboard
Gerrit-Branch: master
Gerrit-Owner: Christopher Johnson (WMDE) <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits