Skip to content

Add combined CSV download for tidy-data research analysis#8

Merged
jheller1212 merged 1 commit into
mainfrom
claude/reddit-ai-relationships-scraper-UghG8
Mar 7, 2026
Merged

Add combined CSV download for tidy-data research analysis#8
jheller1212 merged 1 commit into
mainfrom
claude/reddit-ai-relationships-scraper-UghG8

Conversation

@jheller1212

Copy link
Copy Markdown
Owner

Adds a 4th download option ("Combined CSV") that joins each comment with its parent post fields in a single flat table — one row per comment. Posts without comments still appear as their own row (row_type = "post_only") so no data is lost. This is the standard tidy-data format that works directly with R tidyverse and Python pandas without requiring joins or JSON parsing.

https://claude.ai/code/session_01JS12oCAdiNAGoSr7NhmNzU

Adds a 4th download option ("Combined CSV") that joins each comment
with its parent post fields in a single flat table — one row per
comment. Posts without comments still appear as their own row
(row_type = "post_only") so no data is lost. This is the standard
tidy-data format that works directly with R tidyverse and Python
pandas without requiring joins or JSON parsing.

https://claude.ai/code/session_01JS12oCAdiNAGoSr7NhmNzU
@netlify

netlify Bot commented Mar 7, 2026

Copy link
Copy Markdown

Deploy Preview for redditscrapersbe ready!

Name Link
🔨 Latest commit 35281c8
🔍 Latest deploy log https://app.netlify.com/projects/redditscrapersbe/deploys/69ac9402ae675a0008b09da1
😎 Deploy Preview https://deploy-preview-8--redditscrapersbe.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@jheller1212
jheller1212 merged commit 63b5609 into main Mar 7, 2026
4 of 5 checks passed
jheller1212 pushed a commit that referenced this pull request Mar 11, 2026
…re, academic fields

Critical fixes:
- #1 Thread-level scraping: paste a post URL and get the post + all
  comments instantly. Auto-detected from input — no new UI needed
- #2 Add Hot, Controversial, Rising sort modes (Controversial is key
  for polarization research)
- #3 Time filter greys out when neither Top nor Controversial is active
- #5 Partial data on Stop: always shows download buttons with message
  "Stopped at X posts. Partial data available below."

Academic data fields added (#7):
- Posts: edited, distinguished, is_crosspost, crosspost_subreddit,
  total_awards_received, gilded
- Comments: depth (nesting level), edited, distinguished,
  controversiality

UX improvements:
- #10 Progressive disclosure: options panel hidden until Analyze
  completes. No more wall of options on first load
- #11 Keyword analysis moved under "Advanced" collapsible section
- #12 Single primary download button "Download for R/Python (Combined
  CSV)" with other formats under collapsible
- #13 CTA renamed to "Squeeze Data" for clarity
- #4 Post limit capped at 1000 with visible note
- #8 Specific error messages for 404/403 (not found, private)
- #9 Input accepts post URLs, subreddit URLs, r/prefix, plain names

https://claude.ai/code/session_01JS12oCAdiNAGoSr7NhmNzU
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants