# A tibble: 12 × 2 day n <date> <int>1 2023-02-21 192 2023-02-23 13 2023-02-24 214 2023-03-02 245 2023-03-03 1# ℹ 7 more rows
# Statistikenviews_per_day %>%summary()
day n Min. :2023-02-21 Min. : 1.0 1st Qu.:2023-02-28 1st Qu.: 2.0 Median :2023-03-05 Median : 7.5 Mean :2023-03-07 Mean :12.5 3rd Qu.:2023-03-08 3rd Qu.:19.5 Max. :2023-04-20 Max. :46.0
views_per_day %>%ggplot(aes(x = day, y = n)) +geom_col() +labs(title ="TikTok videos watched per day")
# Direct Messages ---------------------------------------------------------tt_dm <- tiktok$`Direct Messages`$`Chat History`$ChatHistory %>%bind_rows() %>%as_tibble()tt_dm
# A tibble: 4 × 3 Date From Content <chr> <chr> <chr> 1 2023-04-20 09:26:20 alicia.ernst 👋👋👋 2 2023-04-20 09:26:53 annaslblddr ⭐️⭐️⭐️ 3 2023-04-20 09:28:29 alicia.ernst https://www.tiktokv.com/share/video/70987776…4 2023-04-20 09:29:03 alicia.ernst test
# Chat partnertt_dm %>%count(From, sort =TRUE)
# A tibble: 2 × 2 From n <chr> <int>1 alicia.ernst 32 annaslblddr 1