OliverKeyes has submitted this change and it was merged.

Change subject: Argument bug fix
......................................................................


Argument bug fix

Change-Id: I5c5d756eac3501db85965bd8c4c365bb9cdcac00
---
M search/dwelltime.R
1 file changed, 1 insertion(+), 1 deletion(-)

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



diff --git a/search/dwelltime.R b/search/dwelltime.R
index 4be0937..93c8e79 100644
--- a/search/dwelltime.R
+++ b/search/dwelltime.R
@@ -17,7 +17,7 @@
     date <- as.Date(data$timestamp[1])
   }
 
-  dwell_data <- ortiz::dwell_time(data = data, ids = "session_id", timestamps 
= "timestamp", dwell_threshold = 10)
+  dwell_data <- ortiz::dwell_time(data = data, id_col = "session_id", ts_col = 
"timestamp", dwell_threshold = 10)
   
   # Turn it into a data.frame we can write out conditionally, and then do that
   output <- data.frame(date = date, threshold_pass = 
sum(dwell_data)/length(dwell_data))

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I5c5d756eac3501db85965bd8c4c365bb9cdcac00
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/discovery/golden
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