Skip to content

Commit

Permalink
Label colleagues
Browse files Browse the repository at this point in the history
  • Loading branch information
richelbilderbeek committed May 27, 2024
1 parent e8c0ea2 commit fd67219
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
Binary file modified reflections/20240524/20240524_n_messages_per_sender.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions reflections/20240524/20240524_richel.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,8 @@ Taking a look at [meeting_saved_chat.txt](meeting_saved_chat.txt) ...

![Number of messages sent by sender](20240524_n_messages_per_sender.png)

> R = me. Names starting with L are learners, names starting with C are colleagues.
one can see I sent by far the most chat messages to everyone.
Weakness of this plot is that I can only see the messages to everyone
and my private ones. Maybe others use more private communication.
Expand Down
11 changes: 6 additions & 5 deletions reflections/20240524/create_n_messages_per_sender_plot.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ t <- readr::read_csv(
)
names(t) <- c("time", "from", "to")
t$from <- stringr::str_replace(t$from, ".*Bilderbeek.*", "R")
t$from <- stringr::str_replace(t$from, ".*Diana.*", "D")
t$from <- stringr::str_replace(t$from, ".*Lars.*", "L")
t$from <- stringr::str_replace(t$from, ".*Claremar.*", "B")
t$from <- stringr::str_replace(t$from, ".*Jonas.*", "J")
t$from <- stringr::str_replace(t$from, ".*Diana.*", "C1")
t$from <- stringr::str_replace(t$from, ".*Lars.*", "C2")
t$from <- stringr::str_replace(t$from, ".*Claremar.*", "C3")
t$from <- stringr::str_replace(t$from, ".*Jonas.*", "C4")
t$from <- stringr::str_replace(t$from, ".*Darian.*", "L1")
t$from <- stringr::str_replace(t$from, ".*Saeedeh.*", "L2")
t$from <- stringr::str_replace(t$from, ".*Sakshi.*", "L3")
Expand All @@ -44,7 +44,8 @@ ggplot2::ggplot(n_from, mapping = ggplot2::aes(x = from, y = n)) +
ggplot2::scale_y_continuous(name = "Number of chat messages sent to everyone") +
ggplot2::scale_x_discrete(name = "Sender") +
ggplot2::theme(text = ggplot2::element_text(size = 20)) +
ggplot2::theme(axis.text.x = ggplot2::element_text(angle = 90, vjust = 0.5, hjust=1))
ggplot2::theme(axis.text.x = ggplot2::element_text(angle = 90, vjust = 0.5, hjust=1)) +
ggplot2::labs(caption = "Bianca Intermediate, 2024-05-24")

ggplot2::ggsave("20240524_n_messages_per_sender.png", width = 7, height = 7)

0 comments on commit fd67219

Please sign in to comment.