Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,10 @@
|
|||
# Read in data, discard useless bits
|
||||
dfr <- read.table("mlijobs.txt")
|
||||
dfr <- dfr[,c(2,4)]
|
||||
# Find most concurrent licences, and when
|
||||
n.checked.out <- cumsum(ifelse(dfr$V2=="OUT", 1, -1))
|
||||
times <- strptime(dfr$V4, "%Y/%m/%d_%H:%M:%S")
|
||||
most.checked.out <- max(n.checked.out)
|
||||
when.most.checked.out <- times[which(n.checked.out==most.checked.out)]
|
||||
# As a bonus, plot license use
|
||||
plot(times, n.checked.out, type="s")
|
||||
Loading…
Add table
Add a link
Reference in a new issue