Open Source Geometry Engine (GEOS) C API
Provides the Open Source Geometry Engine (GEOS) as a
C API that can be used to write high-performance C and C++
geometry operations using R as an interface. Headers are provided
to make linking ...
@corymccartan.com and I have been playing with @paleolimbot.bsky.social's #rstats `libgeos` package. It's pretty awesome.
Handles the hard parts so that you can connect Rcpp to GEOS with a few lines of code. Got some existing, optimized `geos` code to ~3x faster!
paleolimbot.github.io/libgeos/
18.11.2025 23:01 β π 9 π 2 π¬ 0 π 0
Oh awesome, thanks for sharing. Kieran Healy is always doing awesome work. Not shocked that he did this first!
07.11.2025 16:42 β π 1 π 0 π¬ 0 π 0
A dot density map of NYC where each point represents 50 voters. Lines show NYC neighborhoods. Density is highest in Manhattan with a lot of dots for Mamdani. Areas of Staten Island and Brooklyn are dense and yellow for Cuomo.
NYC 2025 Mayoral results as a dot density plot using the `dots` #rstats package (cran.r-project.org/web/packages...)
07.11.2025 14:01 β π 46 π 11 π¬ 4 π 5
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.
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.
06.11.2025 23:25 β π 460 π 168 π¬ 43 π 56
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.
06.11.2025 02:24 β π 2 π 0 π¬ 0 π 0
Thanks for sharing!
05.11.2025 20:39 β π 1 π 0 π¬ 0 π 0
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.
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...
05.11.2025 19:58 β π 136 π 6 π¬ 2 π 1
Yeah and once you start adding known precinct covariate, the possibilities really explode. We ended up with several internal (quarto) dashboards to handle plotting everything on the fly
05.11.2025 20:33 β π 2 π 0 π¬ 0 π 0
2025 NYC Mayoral Race by Neighborhood
CBS News estimates of how different parts of the city voted
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
05.11.2025 17:26 β π 10 π 4 π¬ 0 π 0
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!)
05.11.2025 17:23 β π 5 π 0 π¬ 1 π 0
Here at the CBS News data desk with @chriskenny.bsky.social and @simko.bsky.social! Looking at the VA numbers
05.11.2025 00:55 β π 12 π 2 π¬ 0 π 0
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.
30.10.2025 04:50 β π 4 π 1 π¬ 0 π 0
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
28.10.2025 10:51 β π 10 π 1 π¬ 0 π 0
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
28.10.2025 19:30 β π 1 π 0 π¬ 0 π 0
Should also add thanks to @resulumit.bsky.social for opening issues and pull requests! Feedback is always helpful, especially in broad packages where Iβm not using every single feature
27.10.2025 12:12 β π 2 π 0 π¬ 0 π 0
#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/
26.10.2025 16:49 β π 14 π 2 π¬ 1 π 0
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/
26.10.2025 16:45 β π 8 π 1 π¬ 0 π 0
GitHub - christopherkenny/quarto-workshop-fall2025
Contribute to christopherkenny/quarto-workshop-fall2025 development by creating an account on GitHub.
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...
22.10.2025 17:07 β π 4 π 1 π¬ 0 π 0
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):
15.10.2025 23:44 β π 2 π 0 π¬ 0 π 0
Thanks. mapgl makes it much faster and removes some of the hacky components that were needed to get leaflet to avoid redrawing shapes. Appreciate your package!
03.10.2025 15:19 β π 3 π 0 π¬ 0 π 0
Interactive Redistricting
A point and click editor for districts built on shiny and mapgl. Users can draw districts and calculate standard redistricting metrics, like compactness or the number of administrative splits. Maps ca...
The code to make the demo is simple, especially if you already use ALARM data:
library(redistio)
nm <- alarmdata::alarm_50state_map('NM')
draw(nm, init_plan = nm$cd_2020, palette = wacolors::wacolors$rainier,
layers = list(County = 'county'))
More info: christophertkenny.com/redistio/
03.10.2025 12:46 β π 1 π 1 π¬ 0 π 0
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:
03.10.2025 12:46 β π 12 π 5 π¬ 2 π 1
#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...
01.10.2025 19:50 β π 2 π 0 π¬ 0 π 0
A pdf version of the slides are here: christophertkenny.com/drafts/2025-...
01.10.2025 19:33 β π 1 π 0 π¬ 0 π 0
Presenting today!
01.10.2025 13:13 β π 3 π 0 π¬ 1 π 0
Search β Typst: Universe
Explore packages and templates to take your documents to the next level.
Thereβs been a lot of development, especially with the growth in the user community over that time period. But it would depend on how obscure your math is, I think.
Thereβs a listing of community packages here: typst.app/universe/sea...
27.09.2025 18:37 β π 0 π 0 π¬ 0 π 0
Yeah, I have fair point. I do all of my journal writing in Quarto, so that I can swap between formats, which lets me write Quarto => Typst. If a journal requires LaTeX, you just swap the engine and Quarto produces the LaTeX file.
27.09.2025 13:39 β π 2 π 1 π¬ 1 π 0
PhD in economics from LISER, Luxembourg, now looking for research software engineer or data science positions. Mostly here to talk about #rstats
https://github.com/etiennebacher
Postdoctoral fellow @ Princeton. Studies political economy and identity in South Asia.
Data journalist at AP Elections.
Also Census, health policy, R and open source. Past work for The Washington Post, KFF Health News, Bloomberg News.
https://www.hrecht.com/
Assistant Professor of Statistics @ Claremont McKenna
not very committed to sparkle motion
https://jrwinget.com β’ https://github.com/jrwinget
Computational Social Scientist β’ Full Stack Engineer β’ Data Science & Systems Thinking β’ Information Processing & Group Dynamics Researcher β’ he/him
Data viz guy at Idaho Secretary of State
π£οΈ#RStats #DataScience #Dogs
@dslc.io Executive Director
#TidyTuesday poster
πhttp://linkedin.com/in/jonthegeek
πhttp://github.com/jonthegeek
Posit DS Hangout host & data educator. Data Weasel. Community Builder. Teaches R+Python.
π Heeren == "hair-en" β¨
LinkedIn: https://www.linkedin.com/in/libbyheeren
DS Hangout: https://pos.it/dsh
GitHub: https://github.com/teunbrand
Health Data Science | π DataViz | πβ¨οΈ | πΎ
Looking for health data analytics or data science position.
LinkedIn: www.linkedin.com/in/darakhshan-nehal-b38747154/
GitHub: https://github.com/darakhshannehal
Oakland, Maps, Bikes, etc. Also @migurski@mastodon.social and formerly @migurski on the birdsite.
Score electoral district maps, evaluate their fairness at https://planscore.org/
maxing the pixels to glow
penguin shit from space, R, Python, GDAL, virtual Zarr, coordinate systems, southern ocean research
hypertidy.org
CS/Math Stat/UCSF Assoc Prof
R Foundation/R Consortium
https://futureverse.org, https://mastodon.social/@henrikbengtsson
#RStats
#rstats & public health
brendenmsmith.com
Political scientist. Associate professor in comparative politics, at Durham University.
https://resulumit.com/
Assistant Professor in Political Science & Data Science at Trinity College Dublin, Director of the Applied Social Data Science (ASDS) Programme.
Former Post-Doc at QTM Emory, WUSTL PhD. UW-Madison alum & native.
www.jeffreyziegler.org
Associate Professor of Public Policy, Politics, and Education @UVA.
I share social science.
Em. Prof., UC Davis. Various awards, incl. book, teaching, public service. Many books, latest The Art of Machine Learning (uses qeML pkg). Former Editor in Chief, the R Journal. Views mine. heather.cs.ucdavis.edu/matloff.html