Skip to content

Instantly share code, notes, and snippets.

@kuniyoshi
Last active January 18, 2016 00:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kuniyoshi/3b1f55bd6a00c7e6b90a to your computer and use it in GitHub Desktop.
Save kuniyoshi/3b1f55bd6a00c7e6b90a to your computer and use it in GitHub Desktop.
acquisition
DateTime FilesChanged Insertions Deletions NewFiles NewLines Errors CompiledDateTime LinkedDateTime
2016-01-18T07:59:00 23 509 124 8 844 103 2016-01-18T09:01:00 2016-01-18T09:08:00
2016-01-12T21:04:00 14 345 73 6 535 42 2016-01-12T21:37:00 2016-01-12T21:37:00
2016-01-06T11:57:00 10 140 24 8 333 41 2016-01-06T12:46:00 2016-01-06T12:46:00
2015-12-23T16:48:00 6 34 13 49 1864 72 2015-12-23T20:23:00 2015-12-23T21:14
2015-12-17T14:17:00 4 11 1 2 166 16 2015-12-17T14:38:00 2015-12-17T14:38:00
2015-12-16T08:32:00 7 125 232 13 371 88 2015-12-16T09:17:00 2015-12-16T09:17:00
2015-12-14T22:28:00 5 58 78 6 274 49 2015-12-14T22:38:00 2015-12-14T22:38:00
2015-12-13T07:31:00 9 226 308 2 71 55 2015-12-13T08:09:00 2015-12-13T08:09:00
2015-12-11T15:59:00 1 11 0 0 0 0 2015-12-11T15:59:00 2015-12-11T15:59:00
@kuniyoshi
Copy link
Author

d <- read.delim("acquisition")
d <- transform(d, Diff = NewLines + abs(Insertions - Deletions))
d <- transform(d, ErrorPerLine = Errors / Diff)
d <- transform(d, DateTime = as.POSIXct(DateTime, format = "%FT%T", tz = "Asia/Tokyo"))
png("errors_per_line.png")
plot(ErrorPerLine ~ DateTime, d, type = "l")
dev.off()

errors_per_line

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment