Manasvini Singh
@vinisingh.bsky.social
3.1K followers 490 following 230 posts
Asst Prof @CarnegieMellon • Health and Behavioral economist • Enjoy limericks, fantasy, and mezcal • also go by Vini https://www.manasvinisingh.com/ (opinions mine)
Posts Media Videos Starter Packs
vinisingh.bsky.social
🤯🤯🤯 Now this is what I'm talking about!
vinisingh.bsky.social
nooooooo it was one coding session, it didn't mean anything
vinisingh.bsky.social
yes absolutely ... the dangers of errant merges are dire 😭 and it feels even more dangerous when i'm just learning R and there is no simple way to inspect my merges. at least tidylog may provide a good first step!
vinisingh.bsky.social
omg perfect!!! thank you! tidylog seems to be exactly what I was looking for (I wanted dplyr's many-to-many error but for other kids of errors as well, e.g., if i tried doing m:1 but there were multiple records in the second data)
vinisingh.bsky.social
yep, basically wondering whether i have to write this every time i use join()

merge_flag = case_when(
!is.na(x) & !is.na(y) ~ "matched",
!is.na(x) & is.na(y) ~ "X_only",
is.na(x) & !is.na(y) ~ "Y_only",
TRUE ~ "error"
)
vinisingh.bsky.social
yup yup i just meant to say that diagnostics are trickier. I've tried to write my own function, but at least at this stage of learning it's not pretty easy for me :) if i use my own (clunky) function, it seems I lose the rich functionality of R's native join? Maybe soon though! 🤞
vinisingh.bsky.social
This is the only package I found aimed at that issue. But the "relationship = ..." doesn't show warnings when it should

randrescastaneda.github.io/joyn/
An R package for joining tables
It is a joy to join tables in R with `joyn`
randrescastaneda.github.io
vinisingh.bsky.social
I finally made the switch to R from stata, and as a fierce long-time defender of stata, I can concede that R is leagues better in almost every way.

Still, I do wish there was an easier way to diagnose merges w/o complicated code. GPT hasn't helped, and joyn doesn't seem to do it right. Any advice?
vinisingh.bsky.social
dammit i did not see the first comment
vinisingh.bsky.social
JDM folk: please submit :)
gordpennycook.bsky.social
Excited to announce our amazing lineup of speakers for the 2026 JDM preconference at SPSP!

Conference date: Feb 26th
Location: Chicago
Deadline to apply: Oct 23rd.

Application link: spsp.wufoo.com/forms/2026-p...

cc: @sdellavi.bsky.social, @hirshmansam.bsky.social, @vinisingh.bsky.social
Reposted by Manasvini Singh
iwillnotbesilenced.bsky.social
A woman protesting outside the ICE facility in Broadview, Illinois, was brutally assaulted by goons who used mace and sting balls on her.
Reposted by Manasvini Singh
fleerultra.bsky.social
so many dead canaries and we just keep on mining
Reposted by Manasvini Singh
nickchk.com
New The Effect materials today: introductions to basic coding and data manipulation in R, Stata, and Python. Get the wheels turning on using these languages with data with these intro pages and exercises:
nickchk.com/Coding%20and...
nickchk.com/Coding%20and...
nickchk.com/Coding%20and...
Introduction to Working with Data: R Version
nickchk.com
vinisingh.bsky.social
For those still complaining -- in this day and age! -- about tables/figures at the end of the paper because it's a "hassle to scroll up and down", here's a tip.

If you click on a link on a page (e.g. to a fig/table), you can return instantly to that page by:

Preview: ⌘ + [
Adobe: ⌘ + left arrow
vinisingh.bsky.social
Haha no, I wish I was that smart
vinisingh.bsky.social
*leans in to make sure #17 is really what it says*
nellstra.bsky.social
***Historians***

Check out who are listed as #2...
Reposted by Manasvini Singh
felicitycallard.bsky.social
‘My position on OpenAI has hardened in recent months, as they have themselves recognized that their only path to profitability is to follow the models of…Meta (Facebook) & Alphabet (Google) by creating dependency and/or addiction for an entire generation’.

Always read @mattseybold.bsky.social
mattseybold.bsky.social
“The logical conclusion of a technofeudal oligarchy combining forces with an authoritarian political movement is compulsory enrollment in the security state’s platform architecture of surveillance, indoctrination, and behavioral modification.”
Against Technofeudal Education
Pillars For Protecting Our "Core Infrastructure" From OpenAI
theamericanvandal.substack.com
vinisingh.bsky.social
lol he might need to update his examples! bsky.app/profile/thet...
thetnholler.bsky.social
A Legal group founded by Stephen Miller calls for federal and Tennessee investigations into Cracker Barrel for its DEI policies — “because initiatives are focused on supporting workers who are women, Black, LGBTQ+, or Latino”

www.newsweek.com/cracker-barr...
vinisingh.bsky.social
2020: Thank god for healthcare workers, we would be dead without you

2025: Thank god for lawyers, we would be dead without you
Reposted by Manasvini Singh
asacarny.bsky.social
Trying to identify opioids and other drugs in pharmacy data (claims, PDMP, etc.)? Use my code to quickly build a list of national drug codes (NDCs) using the free public database RxNorm.

I wrote this code to replace the CDC's now-discontinued opioid NDC dataset.

github.com/asacarny/dru...
GitHub - asacarny/drug-ndc-rxnorm: Code to create a list of NDCs (National Drug Codes) for opioids, benzodiazepines, and other related drugs using RxNorm
Code to create a list of NDCs (National Drug Codes) for opioids, benzodiazepines, and other related drugs using RxNorm - asacarny/drug-ndc-rxnorm
github.com
vinisingh.bsky.social
What ... is this ... peculiar stirring ... within mine breast .... could it be -- aye -- hope?!
andrew.heiss.phd
wait, is a Good Political Thing really happening???
Reposted by Manasvini Singh
nytpitchbot.bsky.social
The Republican Party has fully embraced fascism and destroyed American democracy. But some Democrats still say Latinx. I have never felt more politically homeless.