[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] [metrics-db/master] Fix peak and average daily user estimates.



Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date: Mon, 11 Oct 2010 15:09:47 +0200
Subject: Fix peak and average daily user estimates.
Commit: 6102aae396ee48553b4153aa1ecc19994ff5c448

---
 R/monthly-users.R |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/R/monthly-users.R b/R/monthly-users.R
index 098b50d..deef458 100644
--- a/R/monthly-users.R
+++ b/R/monthly-users.R
@@ -10,11 +10,7 @@ if (file.exists("stats/dirreq-stats") &
     stringsAsFactors = FALSE)
   trustedSub <- dirreq[dirreq$directory ==
     "8522EB98C91496E80EC238E732594D1509158E77",]
-  trustedSub[!is.na(trustedSub$share) & trustedSub$share < 0.01,
-    3:length(trustedSub)] <- NA
-  # Take out values in June 2010 when we had problems with dirreq-shares
-  trustedSub[!is.na(trustedSub$share) & trustedSub$date > "2010-05-26"
-             & trustedSub$date < "2010-06-24",
+  trustedSub[!is.na(trustedSub$share) & trustedSub$share < 1,
     3:length(trustedSub)] <- NA
   trusted <- data.frame(date = trustedSub$date,
     floor(trustedSub[3:(length(trustedSub) - 1)] / trustedSub$share * 10))
-- 
1.7.1