sarah
Research Specialist at Princeton University's Eviction Lab
R programmer & housing analyst
- Reposted by sarahIf you don't want Claude to load all this great #RStats content for each session, try asking Claude Code to deconstruct this content into distinct skills. On first pass it did not add required YAML headers, so needed second pass with those instructions. Here are the skills I ended up with.
- I was loving Claude Code... until I tried it with #rstats. Constant errors, wouldn't use the tidyverse even when asked, "optimized" functions were slower. Frustrated, I started a session just to teach R to Claude and summarize what it learned into a CLAUDE.md file gist.github.com/sj-io/3828d6...
- Reposted by sarahRising rents are leaving households with less income to pay for other needs, and inflation has also pushed up the cost of other necessities. Our new paper finds that, after paying for rent, 2/3 of working-age renters cannot afford their basic needs. www.jchs.harvard.edu/blog/two-thi...
- Reposted by sarahI am super hyped to finally share the first release of plumber2 with all of you. This has been the center of my attention for a big part of 2025 and I hope you'll find it a worthy update to the venerable plumber package. The blog post will tell you more #rstats
- Do you ever make a really nice table and then spend like 30+ minutes just clicking around? reactable has gotta be my fav R table package. This table has just shy of 50K rows with grouping, conditional formatting, filtering and sorting. Renders and runs super fast. #rstats
- (also informally requesting Quarto add Bootswatch's Brite theme. It looks so sick, I had to manually add it and test it out)
- I was loving Claude Code... until I tried it with #rstats. Constant errors, wouldn't use the tidyverse even when asked, "optimized" functions were slower. Frustrated, I started a session just to teach R to Claude and summarize what it learned into a CLAUDE.md file gist.github.com/sj-io/3828d6...
- I gave it only pages from official tidyverse docs, vingettes, blog posts, style guide, and excerpts from R for Data Science and Advanced R. I asked it to not only summarize the files but also make sure it knew *when* to use tidyverse over base R.
- I placed this into a project I was trying to debug and the results were 1000x better, truly night and day. I'm no longer having to teach it R while trying to work. It can make modern functions in one attempt, benchmark code, add parallelization.
-
View full threadI saw others suggesting this idea but I hadn't seen anyone share a CLAUDE.md or similar file. This might also be fixed if you use the API and MCP, but I'm already paying for Claude Code. also there's no ggplot, lubridate in the file but you can always ask Claude to update the file with new docs.
- Reposted by sarahHot off the press! Annual eviction report here:
- In 2024, landlords filed more than a million evictions in the 30+ cities and 10 states we monitor. While some jurisdictions showed progress, others revealed concerning trends. We’re sounding the alarm in several cities. Learn more in our 2024 report: evictionlab.org/ets-report-2...
- Reposted by sarahMedian age of homebuyers just hit a new record high of 56 (Via Torsten Slok)
- Reposted by sarahThe department will cut employees in the offices that enforce civil rights laws, compile data about the housing market, and pay to rebuild communities after disasters. news.bloomberglaw.com/daily-labor-...