small changes to get track participation working
This commit is contained in:
parent
f590bf88bc
commit
95a9977572
@ -1,13 +1,18 @@
|
|||||||
|
setwd("~/online_communities/coldcallbot/data/")
|
||||||
|
|
||||||
library(ggplot2)
|
library(ggplot2)
|
||||||
library(data.table)
|
library(data.table)
|
||||||
|
|
||||||
gs <- read.delim("student_information.tsv")
|
gs <- read.delim("student_information.tsv")
|
||||||
d <- gs[,c(2,5)]
|
d <- gs[,c(2,4)]
|
||||||
colnames(d) <- c("student.num", "discord.name")
|
colnames(d) <- c("student.num", "teams.name")
|
||||||
|
|
||||||
|
call.list <- do.call("rbind", lapply(list.files(".", pattern="^call_list-.*tsv$"), function (x) {read.delim(x, stringsAsFactors=FALSE)[,1:4]}))
|
||||||
|
|
||||||
call.list <- do.call("rbind", lapply(list.files(".", pattern="^call_list-.*tsv$"), function (x) {read.delim(x)[,1:4]}))
|
|
||||||
colnames(call.list) <- gsub("_", ".", colnames(call.list))
|
colnames(call.list) <- gsub("_", ".", colnames(call.list))
|
||||||
|
|
||||||
|
table(call.list$unique_name)
|
||||||
|
|
||||||
call.list$day <- as.Date(call.list$timestamp)
|
call.list$day <- as.Date(call.list$timestamp)
|
||||||
|
|
||||||
## drop calls where the person wasn't present
|
## drop calls where the person wasn't present
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user