Sign in

Spencer Schien

@mrpecners.bsky.social
136 followers 13 following 20 posts
PostsRepliesMedia
Spencer Schien @mrpecners.bsky.social · 15/09/2025
Happy to have my tutorial recreating a NYTimes graph in R posted on the R Graph Gallery! r-graph-gallery.com/web-divergin...
r-graph-gallery.com
Diverging Barplot with R and ggplot2
How to build a diverging barplot by recreating the chart from NY Times using R.
010
Spencer Schien @mrpecners.bsky.social · 03/08/2025
New video! Recreate this viral chart by @christinezhang.bsky.social in the @nytimes.com with #rstats. youtu.be/Gjsi9yzBni0
youtu.be
Copy the Pros: Recreate a Viral NYTimes Chart in R
YouTube video by Spencer Schien
0111
Spencer Schien @mrpecners.bsky.social · 31/07/2025
New #rsats video! This is another Copy the Pros where I recreate a NYTimes chart in R. Copy the Pros: Recreate a NYTimes Chart in R youtu.be/XihJUrDXq6s
youtu.be
Copy the Pros: Recreate a NYTimes Chart in R
YouTube video by Spencer Schien
020
Spencer Schien @mrpecners.bsky.social · 31/07/2025
What’s the opposite of Edward R Murrow’s “Good night, and good luck”, you ask? I give you me signing off of a chart tutorial. #RStats
040
Spencer Schien @mrpecners.bsky.social · 25/07/2025
I have a #rstats #Positron question: anyone run into issues with auto-indentation, and did you fix it? Here’s a video example of the issue, I want it to work in Positron like it does in RStudio! I’m sure I’m missing something.
430
Spencer Schien @mrpecners.bsky.social · 24/07/2025
New #rstats video! Recreating a New York Times Chart in R | Line-by-line Coding Tutorial youtu.be/HDCJIkY2ihI
youtu.be
Recreating a New York Times Chart in R | Line-by-line Coding Tutorial
YouTube video by Spencer Schien
080
Spencer Schien @mrpecners.bsky.social · 21/11/2024
I would love an #rstats function that copies a dataframe to a clipboard in a table format that I can drop in an email or chat. Anyone have tips here? I found how to copy in a delimited format, but it wasn’t coming through in a table.
650
Spencer Schien @mrpecners.bsky.social · 20/11/2024
To me, when I write it I’m thinking: okay, starting with df1, and I’m augmenting with df2. Starting with the data and layering operations is more intuitive to me.
020
Spencer Schien @mrpecners.bsky.social · 20/11/2024
So far it looks like people prefer the first approach but suspect it’s not best practice. I definitely prefer the first but asked because I thought it would be in the minority! #rstats
640
Spencer Schien @mrpecners.bsky.social · 20/11/2024
Stirring the pot this morning: #rstats crowd, which do you prefer? df3 <- df1 |> left_join(df2) OR df3 <- left_join(df1, df2)
1260
Spencer Schien @mrpecners.bsky.social · 18/11/2024
Thanks! Yeah you can find a lot of code in this repo: github.com/Pecners/rays...
github.com
GitHub - Pecners/rayshader_portraits
Contribute to Pecners/rayshader_portraits development by creating an account on GitHub.
110
Spencer Schien @mrpecners.bsky.social · 15/11/2024
Arizona Population Density Is #rstats a thing on here? This was made with R.
Population density map of Arizona, rendered in 3d with R using the Rayshader package.
2142
Spencer Schien @mrpecners.bsky.social · 25/09/2024
My inspiration for this map was a combination of ice and stars. Ice because, Alaska is way north, but also the reflective quality highlights the sparse population. Stars because the sparse population centers look a bit like stars in the sky, and as a reference to Alaska's flag.
000
Spencer Schien @mrpecners.bsky.social · 25/09/2024
How does that 14% compare to the rest of the US? Alaska has more National Park land than the rest of the US, combined.
100
Spencer Schien @mrpecners.bsky.social · 25/09/2024
Among that surfeit of unpopulated land is a large amount of National Park land. About 14% of land in Alaska is managed by the National Park Service.
100
Spencer Schien @mrpecners.bsky.social · 25/09/2024
While there isn't much population, there's a lot of land. In fact, Alaska's land area is about equal to that of these 12 states.
100
Spencer Schien @mrpecners.bsky.social · 25/09/2024
There are just a handful of identifiable population centers. Top 3 most populous cities are visible: Anchorage, Fairbanks, and Juneau.
210
Spencer Schien @mrpecners.bsky.social · 25/09/2024
Chapter 2: Alaska Population Density Or, what population density?
Population density map of Alaska.
100
Spencer Schien @mrpecners.bsky.social · 03/09/2024
Just started a new project to compile state population density maps in a book format. Check out my first chapter on Alabama: pecners.github.io/state_popula...
Population density map of Alabama
031
Spencer Schien @mrpecners.bsky.social · 10/02/2024
Population density of Illinois
Population density map of Illinois, rendered in 3D with R using the rayshader package.
081