sarah
Research Specialist at Princeton University's Eviction Lab
R programmer & housing analyst
- Reposted by sarah[Not loaded yet]
- 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 sarah[Not loaded yet]
- 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 sarah[Not loaded yet]
- Reposted by sarah[Not loaded yet]
- 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-...