sarah
banner
sarahjohnson.io
sarah
@sarahjohnson.io
Research Specialist at Princeton University's Eviction Lab
R programmer & housing analyst
Thank you for @ ing me! I appreciate it!
September 18, 2025 at 7:49 PM
Thank you for your response and apologies for the delay in getting back to you. I was hoping to put in a PR but I've been swamped recently. Here is what I have so far: gist.github.com/sj-io/f1f3b2... made by combining the _variables.scss under scss:defaults and _bootswatch.scss under scss:rules
Brite theme for Quarto
Brite theme for Quarto. GitHub Gist: instantly share code, notes, and snippets.
gist.github.com
September 12, 2025 at 11:34 PM
(also informally requesting Quarto add Bootswatch's Brite theme. It looks so sick, I had to manually add it and test it out)
August 27, 2025 at 10:37 AM
Good suggestion on the blog post! I've started to put one together. Quick answer: I downloaded md (or rmd/qmd) files from github, saved them in a folder, then opened Claude and basically said "we're having too many R errors, esp w/ the tidyverse, please summarize these in a way you can remember"
August 22, 2025 at 7:12 AM
Late to the party but I'm constantly working with lookup tables and this would be huge for me. I've been using a homemade solution but I would love these functions, esp w/ the error handling. Can't wait to use these and thank y'all for adding them! bsky.app/profile/sara...
I also wrapped this into a function for one of my packages, so I can just pass on two vectors of the same length to str_replace_all without creating a named vector manually beforehand
August 21, 2025 at 5:45 PM
I 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.
August 21, 2025 at 10:18 AM
The file is long, but large chunks can probably be removed depending on your use. I needed help with package development, so I fed it a bunch of rlang pages. Also added things I'm less familiar with, like vctrs and s7, so maybe it can help me improve in the future. (& lmk if you see something wrong)
August 21, 2025 at 10:18 AM
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.
August 21, 2025 at 10:18 AM
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.
August 21, 2025 at 10:18 AM
I also wrapped this into a function for one of my packages, so I can just pass on two vectors of the same length to str_replace_all without creating a named vector manually beforehand
June 23, 2025 at 7:34 PM
I don't know if it fits your use case, but str_replace_all can replace with a named vector. You might need to add "\\b" around the input to make sure it doesn't match partials, or wrap it with "^" and "$" for an exact match.
June 23, 2025 at 7:34 PM
haha switching it around to "r gt" works for me
March 3, 2025 at 1:09 AM
It's not free but I've been using Easy CSV Editor for years and I love it. apps.apple.com/us/app/easy-...
‎Easy CSV Editor
‎Easy CSV Editor is one of the best editors for CSV and TSV files you'll find on the market. In a clean and user-friendly interface it offers simplicity and flexibility to edit both small and large do...
apps.apple.com
February 12, 2025 at 7:33 PM
Haven't tried duckplyr, but with duckdb you can use tbl_function(con, "read_csv('data_*.csv')") |> collect() for the same effect.
February 4, 2025 at 9:57 PM
i dislocated my shoulder yesterday because I tried to put on a jacket
November 15, 2024 at 7:25 PM