OliverKeyes has submitted this change and it was merged.

Change subject: Patch to use dplyr::summarise rather than summarise. Fixes the 
module URL too.
......................................................................


Patch to use dplyr::summarise rather than summarise. Fixes the module URL too.

Change-Id: I567b16e613e5b0caf02b19e73d44690f5062de83
---
A .gitignore
M assets/wdqs_basic.md
M server.R
3 files changed, 7 insertions(+), 3 deletions(-)

Approvals:
  OliverKeyes: Verified; Looks good to me, approved



diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..6833d3c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*.Rproj.user
+*.Rhistory
+*.RData
+.Rproj.user
diff --git a/assets/wdqs_basic.md b/assets/wdqs_basic.md
index e9714d4..efd15af 100644
--- a/assets/wdqs_basic.md
+++ b/assets/wdqs_basic.md
@@ -17,7 +17,7 @@
 <hr style="border-color: gray;">
 <p style="font-size: small; color: gray;">
   <strong>Link to this dashboard:</strong>
-  <a href="http://searchdata.wmflabs.org/metrics/#wdqs_usage";>
-    http://searchdata.wmflabs.org/metrics/#wdqs_usage
+  <a href="http://searchdata.wmflabs.org/wdqs/#wdqs_usage";>
+    http://searchdata.wmflabs.org/wdqs/#wdqs_usage
   </a>
 </p>
diff --git a/server.R b/server.R
index 4beba98..28fa66d 100644
--- a/server.R
+++ b/server.R
@@ -20,7 +20,7 @@
     wdqs_usage %>%
       dplyr::filter(path %in% c("/", "/index.php") & query == "other") %>%
       dplyr::group_by(timestamp) %>%
-      summarise(total = sum(events)) %>%
+      dplyr::summarise(total = sum(events)) %>%
       # tidyr::spread(query, total) %>%
       { xts(., order.by = .$timestamp) } %>%
       dygraph(main = "Daily WDQS usage", group = "wdqs_basic",

-- 
To view, visit https://gerrit.wikimedia.org/r/235491
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I567b16e613e5b0caf02b19e73d44690f5062de83
Gerrit-PatchSet: 2
Gerrit-Project: wikimedia/discovery/twilightsparql
Gerrit-Branch: master
Gerrit-Owner: Bearloga <mpo...@wikimedia.org>
Gerrit-Reviewer: OliverKeyes <oke...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to