Chris Kenny, PhD
banner
chriskenny.bsky.social
Chris Kenny, PhD
@chriskenny.bsky.social
Postdoc, Princeton DDSS.
PhD '25 Government @harvard.edu.
Studies redistricting with #rstats.
https://christophertkenny.com/
NYC 2025 Mayoral results as a dot density plot using the `dots` #rstats package (cran.r-project.org/web/packages...)
November 7, 2025 at 2:04 PM
Reposted by Chris Kenny, PhD
Do you teach #rstats? Do your students complain about how lame and old-fashioned dplyr is? Don't worry: I have the solution for you: github.com/hadley/genzp....

genzplyr is dplyr, but bussin fr fr no cap.
GitHub - hadley/genzplyr: dplyr but make it bussin fr fr no cap
dplyr but make it bussin fr fr no cap. Contribute to hadley/genzplyr development by creating an account on GitHub.
github.com
November 6, 2025 at 11:25 PM
Support for Prop 50 in California is highly correlated with support for Harris in 2024 and even runs slightly ahead of her

A sad day for democracy to have the future of competitive elections literally on the ballot and yet be so utterly defeated.

Stands at 63.9% voting yes.
November 6, 2025 at 2:24 AM
Reposted by Chris Kenny, PhD
There are a lot of great posts out there that aren't very highly ranked.

Don't rely on bluesky to find you great content; you can find it on your own! Here's how:

#Rstats via @northeasternu.bsky.social's Storybench

www.storybench.org/how-to-analy...
How to Analyze bluesky Posts and Trends with R - Storybench
If all you're doing on bluesky is scrolling, liking and posting, then you're riding a bike with training wheels. Here are simple tools using its open-source skeleton.
www.storybench.org
November 5, 2025 at 7:58 PM
Reposted by Chris Kenny, PhD
NYC map shaded by vote margin!

We collected very granular precinct data and aggregated it to neighborhoods people actually recognize

Bushwick, Flushing, Upper West Side, etc.

datawrapper.dwcdn.net/Wrd72/

H/T @mitelectionlab.bsky.social @chriskenny.bsky.social @corymccartan.com @simko.bsky.social
2025 NYC Mayoral Race by Neighborhood
CBS News estimates of how different parts of the city voted
datawrapper.dwcdn.net
November 5, 2025 at 5:27 PM
For the on-air presenting and digital media, we also built a live neighborhood map: www.cbsnews.com/news/nyc-may... (now filled by margin!)
November 5, 2025 at 5:23 PM
Reposted by Chris Kenny, PhD
Here at the CBS News data desk with @chriskenny.bsky.social and @simko.bsky.social! Looking at the VA numbers
November 5, 2025 at 12:55 AM
Finishing up prep for election night at CBS News' Data Desk!

Sunday in NYC was the highest single day early votes since at least 2019 and maybe ever:
November 4, 2025 at 7:25 PM
Tracking the early vote in NYC. Turnout in Manhattan is particularly striking. Brooklyn is higher in raw numbers, but Manhattan is tracking closer to a presidential year than the odd years.
October 30, 2025 at 4:50 AM
Reposted by Chris Kenny, PhD
As a member of the (now disbanded) National Academy of Sciences working group on differential privacy I can report some liberals want it gone, too, as its application tends to hurt disadvantaged communities
October 28, 2025 at 10:51 AM
In my experience and conversations, most academics want it gone too.

The parameter values necessary to make the data usable make the theoretical guarantees functionally useless. Better off using an empirically effective approach, like swapping.

DP is a cute idea, but it’s a bad fit for the census
October 28, 2025 at 7:30 PM
#rstats bskyr is updated on CRAN with lots of fixes and new features. Major additions are detailed vignettes support for direct messaging.

Full list: christophertkenny.com/bskyr/news/
October 26, 2025 at 4:49 PM
tinytiger ("Lightweight Interface to TIGER/Line Shapefiles") is now updated on CRAN to include support for 2025 census shape boundaries! #rstats

Package website: alarm-redist.org/tinytiger/
October 26, 2025 at 4:45 PM
On Monday, I taught an intro to #Quarto #quartopub workshop aimed at social scientists at Princeton. Slides and demos are publicly available here: github.com/christopherk...
GitHub - christopherkenny/quarto-workshop-fall2025
Contribute to christopherkenny/quarto-workshop-fall2025 development by creating an account on GitHub.
github.com
October 22, 2025 at 5:07 PM
As with past SCOTUS oral arguments on redistricting, here's a word cloud in the shape of the state (with stopwords and lawyer names removed):
October 15, 2025 at 11:44 PM
redistio now uses @kylewalker.bsky.social's mapgl for interactive redistricting map editing!

redistio is an #rstats package that uses Shiny to draw redistricting maps locally.

Unlike other district editors, this provides access to our simulation algorithms, interactively!

Short demo:
October 3, 2025 at 12:46 PM
#rstats packages tinytiger and baf may again be seeing intermittent issues (again), as the Census Bureau has placed this redirect on their FTP sites.

Empty list responses may also be possible, as the download is (sometimes) capturing the HTML page...
October 1, 2025 at 7:50 PM
Presenting today!
October 1, 2025 at 1:13 PM
This Reddit post (www.reddit.com/r/LaTeX/s/aq...) came across my feed.

I think the real question is: How can LaTeX compete with Typst going forward? LaTeX’s advantage now is size of the user base, not features. The next stable (0.14.0) version of Typst includes PDF embeds, the last missing piece.
From the LaTeX community on Reddit
Explore this post and more from the LaTeX community
www.reddit.com
September 26, 2025 at 1:20 AM
Has anyone looked into building a Positron extension to enable styling #rstats code with styler? (It's feasible since styler support was removed from Positron when Air was added.)

This also seems like it would be cleaner with the new equivalent of background jobs.
September 23, 2025 at 9:36 PM
Prepping to talk about developing R packages next Wednesday with the Princeton R User Group!

Registration info:
ddss.princeton.edu/events/2025/...
September 23, 2025 at 4:00 PM
Reposted by Chris Kenny, PhD
NEW

Cost of living, calls for change undergird Mamdani lead in NYC

Voters call city unaffordable and prioritize someone bringing "needed change" over "right experience"

Trump also a factor, with majorities wanting next mayor to oppose him on ICE and National Guard

www.cbsnews.com/news/cbs-new...
September 15, 2025 at 9:00 PM
I’m at #positconf2025! Feel free to send me a message or come up to me to talk anything redistricting, R, or quarto related!
September 16, 2025 at 10:36 PM
Update: As best as I can tell, this is caused by #rstats ggplot2 breaking binned scales in 4.0.0. ggredist errors because it uses palette::palette() which creates a vctrs vector.

If you use a character vector of colors, it doesn't error, but the plot appears to be wrong.

github.com/tidyverse/gg...
September 15, 2025 at 1:33 PM