datagolf

Datagolf turns data analysis into a game. You prompt your way through real datasets, competing to find the shortest path to the answer.

Prompt
Analyze a TikTok account for a high school club and identify which video format drives the most saves, shares, and follows. Return the top 5 posts ranked by engagement lift.
34 tokens
Code (R)
library(dplyr) posts %>%  mutate(    engagement_lift = (likes + shares + saves + follows) / views  ) %>%  group_by(format)  %>%  summarize(avg_lift = mean(engagement_lift), .groups = "drop")  %>%  arrange(desc(avg_lift))  %>%  slice_head(n = 5)
69 tokens
Dataset
TikTok Posts
Columns (10)Scrollable preview
post_idpost_dateformatviewslikessharessavesfollowsavg_watch_secengagement_lift
tk_10012026-03-01get ready with me1842023104122981844118.4
tk_10022026-03-02study vlog1567019853552411333816.7
tk_10032026-03-03dance trend2689042109806124215425.1
tk_10042026-03-04day in life2045027745073301984720.6
tk_10052026-03-05grwm2231030556124012444922.8
tk_10062026-03-06pov skit1778021443992731673917.9
tk_10072026-03-07campus tour1924024114442951764219.2
tk_10082026-03-08hackathon recap2486035207104552885123.6
tk_10092026-03-09exam tips2314028705333672194621
tk_10102026-03-10friends montage2191026954983412074420.1
tk_10112026-03-11morning routine1678020403662281293715.8
tk_10122026-03-12after-school fit check28910438010126584725626.4
tk_10132026-03-13club promo1456017623112081213514.9
tk_10142026-03-14storytime2622035907544823165324
tk_10152026-03-15trend mashup30150472011207035015827.8
tk_10162026-03-16teacher reaction2110025654603021884319.7
tk_10172026-03-17glow up edit2754040108905663895525.9
tk_10182026-03-18lunch table talk132401480250171973113.4
tk_10192026-03-19weekend recap2410032116284122554822.5
tk_10202026-03-20trend sound clip31280498511867445346128.9