more maps by the author if you're curious
commons.wikimedia.org/wiki/User:Tw...
@erictleung.bsky.social
marketing data scientist, generalist, math and library enthusiast, data scientist of the third kind, loves good stationary and pens, low tech enthusiast, open source tinkerer, opinions = mine #rstats
more maps by the author if you're curious
commons.wikimedia.org/wiki/User:Tw...
map of the 2025 New York City mayoral race, using different colors to represent the three main candidates
politics aside, it's pretty amazing to find high quality data visualizations for free on the Wikipedia page for the recent NYC mayoral election. and using a clever ternary plot to represent the breakdown of votes for three candidates in one color
en.wikipedia.org/wiki/2025_Ne...
yes yes! thanks for sharing your Libby fact. also, jetpens is indeed the best. I thought about a side project of scraping all their fountain pens and visualizing all the dimensions of pens (sizes, color, etc). never did, but I still think of it from time to time π
22.10.2025 14:10 β π 0 π 0 π¬ 0 π 0maybe I'll add it to the Christmas wish list π
22.10.2025 02:31 β π 1 π 0 π¬ 1 π 0a fellow stationary and pens nerd! I got a retractable fountain pen for my birthday and it is just the best. I've seen this pen advertised to me, but I keep on telling myself I have enough pens π₯² so tempting!
22.10.2025 02:02 β π 4 π 0 π¬ 1 π 0some example documentation
www.rdocumentation.org/packages/bas...
i guess they could be useful to be consistent with specifying different quotes, instead of remembering which quotes need to be escaped etc.
either way, it's a "the more you know" kind of thing built into R
recently learned the sQuote() and dQuote() R functions
> cat("distinguish plain", sQuote("single"), "and", dQuote("double"), "quotes")
distinguish plain βsingleβ and βdoubleβ quotes
> cat("distinguish between 'single' and \"double\" quotes")
distinguish between 'single' and "double" quotes
#RStats
for fans of mcelreath's statistical rethinking book, it now has a wikipedia page en.wikipedia.org/wiki/Statist...
26.09.2025 15:54 β π 3 π 0 π¬ 0 π 0thought I understood f-strings enough, untill I took this lil quiz. humbled me real quick fstrings.wtf
06.08.2025 13:31 β π 0 π 0 π¬ 0 π 0If you ask me for advice, the answer I give you will almost always be to reach out and talk to people. Not to read blog posts or watch youtube videos, though those are wonderful resources, but to meet with & talk to actual humans. It's not easy, and it takes time and effort, but it's the way #databs
25.07.2025 20:44 β π 22 π 1 π¬ 0 π 0been using forest sounds in the background for work. it's been quite peaceful
www.tree.fm
TIL you can make an R Jupyter notebook in Google Colab with this link colab.research.google.com/notebook#cre...
24.07.2025 03:59 β π 0 π 0 π¬ 0 π 0been dragging my feet on organizing my digital folders after finally finding this framework for organizing your digital.
in theory, i really like it. but with any digital cleaning, easier said than done.
anyone else have other systems they use to organize your life?
johnnydecimal.com
i've been writing sql code for a while now, but yesterday i learned the acronym CTAS, which stands for "create table as select"
17.07.2025 19:11 β π 1 π 0 π¬ 0 π 0been trying to get into using vscode a bit more, and had some of the keyboard shortcuts interfere with each other.
took me a bit to figure it out, but in case anyone else is having issues with it, go to File > Preferences > Keyboard Shortcuts menu
code.visualstudio.com/docs/configu...
turns out, tryCatch() in R is locally scoped, so if you need to change any variables, you'll need to make it more explicit with something like
assign("var_i_need_to_change", "change_to_this_value", env = globalenv())
stackoverflow.com/a/48391135/2...
The #dataBS (Data Behind the Scenes) Conference Call for speakers is out! We're gonna do this!!
All online, single track, free to attend. Come talk about your messy experiences doing data stuff. At work, personal projects, whatever. A space to commiserate about nerdy things!
bit.ly/dataBSconf-cfs
Promotional graphic for the Posit Data Science Hangout featuring Cat Hicks, scheduled for June 26th, 2025 at 12 PM Eastern. The image shows Cat Hicks in front of a bright yellow background, wearing a patterned jacket and looking confidently at the camera. The left side of the graphic displays the date β26 JUN 2025,β and below the image is a short description mentioning Catβs work with Catharsis Consulting and her expertise in the psychology of software teams.
So freaking excited to have Cat Hicks on the Hangout tomorrow. She's keynoting at posit conf, too β¨ Go register and I'll see you there!! #databs
Event:
Posit Data Science Hangout with Cat Hicks
Thursday June 26th 2025 at 12PM Eastern/9am Pacific
Register for the Hangout event series at pos.it/dsh
so true. I've been doing the over documentation for a bit, but still working on over communicating
26.06.2025 02:55 β π 0 π 0 π¬ 0 π 0better to over communicate than assume when working across teams
25.06.2025 22:52 β π 1 π 0 π¬ 1 π 0TIL about ggmosaic, an R package for visualizing categorical data haleyjeppson.github.io/ggmosaic/ind...
20.05.2025 02:14 β π 1 π 0 π¬ 0 π 0i spent a whole day trying to get 5 lines of code to run properly. never have i had such a sigh of relief that it finally worked
07.05.2025 22:24 β π 1 π 0 π¬ 0 π 0following up on this, my problems is using recipes and workflows, and how parity between Spark and R is still being worked on and/or features even possible stackoverflow.com/a/68324650/2... but good to know that modeling is fine with parsnip tho!
07.05.2025 19:55 β π 0 π 0 π¬ 0 π 0ah yes yes, if it wasn't clear, i was pleasantly surprised to have this feature! thanks for your team's work on making these cool user experience conveniences for us data people π
06.05.2025 23:38 β π 1 π 0 π¬ 1 π 0pretty cool that the new york public library has some of their engineering practices up on GitHub github.com/NYPL/enginee...
02.05.2025 22:58 β π 1 π 0 π¬ 0 π 0screenshot of a coding integrated development environment showing an autocomplete suggestion, along with a preview of the underlying object
woah, when did RStudio gain this functionality that when you wait for autocomplete to finish, it'll show you a preview of that data object that it is suggesting in the autocomplete?? #RStats
02.05.2025 16:35 β π 10 π 3 π¬ 1 π 0very cool! didn't know of this package. might be useful after training indeed. yeah, my problem is on the training side of things. thanks for sharing!
30.04.2025 13:06 β π 0 π 0 π¬ 0 π 0oh interesting, I could give it a try and see. thanks for pointing this out! wasn't aware of them nor noticed them in the documentation
30.04.2025 13:05 β π 1 π 0 π¬ 1 π 0