Overview of Our Data

For this assignment, our group analyzed three weeks of Bluesky posts collected between October 22 and November 11, 2026. Using the search terms “mall” and “shopping,” we gathered a total of 588 unique English-language posts: * Week 1 (Oct 22–28, 2026): 195 posts * Week 2 (Oct 29–Nov 4, 2026): 199 posts * Week 3 (Nov 5–11, 2026): 194 posts

We used two text analysis methods to study the data: word frequency analysis (to see what topics people talked about most) and sentiment analysis (to see whether posts were positive, negative, or neutral).

Load and Combine the Three Weeks of Data

w1 <- read_csv("Bluesky_Week1_2026-10-22_to_2026-10-28.csv") %>% mutate(week = "Week 1 (Oct 22-28)")
w2 <- read_csv("Bluesky_Week2_2026-10-29_to_2026-11-04.csv") %>% mutate(week = "Week 2 (Oct 29-Nov 4)")
w3 <- read_csv("Bluesky_Week3_2026-11-05_to_2026-11-11.csv") %>% mutate(week = "Week 3 (Nov 5-11)")

bluesky <- bind_rows(w1, w2, w3) %>%
  mutate(
    post_id = row_number(),
    clean_text = str_remove_all(text, "https?://\\S+|www\\.\\S+")
  )

cat("Total unique posts analyzed:", nrow(bluesky))
## Total unique posts analyzed: 588

What We Found from Word Frequency Analysis

Not surprisingly, the two most common words in the dataset were our search terms, “shopping” (290 times) and “mall” (288 times). Once we removed those two search words and common filler words (like “the” and “and”), the top words showed three clear patterns:

  1. Holiday Shopping Started Right After Halloween: The word “christmas” appeared 30 times overall, jumping sharply in Week 2 (Oct 29–Nov 4) right after Halloween as users began posting about gift shopping.
  2. Everyday Errands vs. Politics: Looking at two-word phrases, many users posted about normal shopping trips using phrases like “shopping mall” (14 times), “grocery shopping” (13 times), “shopping center” (11 times), and “strip mall” (10 times). At the same time, “national mall” appeared 14 times in political and Veterans Day posts about Washington, D.C.
  3. Automated Bot Posts: Words like “payphonetag” (40 times), “sure” (32 times), “check” (30 times), “fun” (30 times), and “australia” (22 times) showed up frequently because of an automated game account (#PayphoneTag) that posted templated updates whenever players tagged payphones near Australian shopping malls.

Word Frequency Analysis & Chart (Put before “What We Found from Word Frequency Analysis”)

data("stop_words")
custom_stops <- tibble(word = c("mall", "shopping", "amp", "bsky", "social"))

word_counts <- bluesky %>%
  unnest_tokens(word, clean_text) %>%
  filter(str_detect(word, "^[a-z]{3,}$")) %>%
  anti_join(stop_words, by = "word") %>%
  anti_join(custom_stops, by = "word") %>%
  count(word, sort = TRUE)

word_counts %>%
  slice_max(n, n = 15) %>%
  ggplot(aes(x = reorder(word, n), y = n)) +
  geom_col(fill = "#2b6cb0") +
  geom_text(aes(label = n), hjust = -0.2, size = 3.5) +
  coord_flip() +
  labs(
    title = "Top 15 Contextual Words Across 3 Weeks of Bluesky Posts",
    subtitle = "Excludes search query terms ('mall', 'shopping') and standard stop words",
    x = NULL,
    y = "Word Frequency"
  ) +
  theme_minimal()

What We Found from Sentiment Analysis

Overall, the sentiment of Bluesky posts about malls and shopping was mostly positive across all three weeks: * Positive: 49.7% (292 posts) * Neutral: 32.8% (193 posts) * Negative: 17.5% (103 posts)

Key Takeaways Across the Three Weeks: * Negative Posts Increased Over Time: Positive posts stayed steady around 48% to 51% each week, while neutral posts dropped from 35.9% in Week 1 to 28.9% in Week 3. Over that same period, negative posts increased from 13.8% in Week 1 to 20.1% in Week 3. * “Shopping” Posts Were More Positive Than “Mall” Posts: Posts found under the search term “shopping” were 52.4% positive, mostly because people were sharing gift ideas, deals, and fun purchases. Posts under “mall” were 46.2% positive and had more neutral posts (35.5%), largely due to news updates and political posts mentioning the National Mall. * Bot Posts Boosted Positivity Slightly: The 20 automated #PayphoneTag bot posts scored 85% positive because they repeated upbeat phrases like “join in on the fun.” Even when we remove those bot posts, real user posts were still mostly positive at 48.4%.

Conclusion

Combining word frequency and sentiment analysis helped explain the patterns we saw in our earlier cluster and simple analyses. While most Bluesky users talk about shopping in a positive way—especially as holiday shopping picks up in early November—automated bot accounts and political news about the National Mall make up a noticeable share of the conversation.

##Sentiment Analysis & Chart (Put before “What We Found from Sentiment Analysis”)

bing <- get_sentiments("bing")

post_sentiment <- bluesky %>%
  unnest_tokens(word, clean_text) %>%
  inner_join(bing, by = "word") %>%
  count(week, post_id, sentiment) %>%
  pivot_wider(names_from = sentiment, values_from = n, values_fill = 0) %>%
  mutate(
    net_score = positive - negative,
    sentiment_label = case_when(
      net_score > 0 ~ "Positive",
      net_score < 0 ~ "Negative",
      TRUE ~ "Neutral"
    )
  )

full_sentiment <- bluesky %>%
  select(week, post_id) %>%
  left_join(post_sentiment, by = c("week", "post_id")) %>%
  mutate(sentiment_label = replace_na(sentiment_label, "Neutral"))

full_sentiment %>%
  count(week, sentiment_label) %>%
  group_by(week) %>%
  mutate(pct = n / sum(n) * 100) %>%
  ggplot(aes(x = week, y = pct, fill = sentiment_label)) +
  geom_col(position = "fill", width = 0.6) +
  scale_y_continuous(labels = scales::percent) +
  scale_fill_manual(values = c("Negative" = "#e53e3e", "Neutral" = "#a0aec0", "Positive" = "#38a169")) +
  labs(
    title = "Weekly Sentiment Breakdown (Oct 22 – Nov 11, 2026)",
    x = NULL,
    y = "Percentage of Posts",
    fill = "Sentiment"
  ) +
  theme_minimal()