Sign in

James Clawson

@jmclawson.bsky.social
68 followers 79 following 28 posts

Once academic (Digital humanities). Now in Chicago. #DH, #Data, #Dogs, #RStats, #Running — hashtags’ songs: Cicadas on blue. jmclawson.net github.com/jmclawson grantwitness.org

PostsRepliesMedia
James Clawson @jmclawson.bsky.social · 03/10/2026
Now I want to make my own theme, too. Thanks for sharing! 😊
010
James Clawson @jmclawson.bsky.social · 02/10/2026
This is something I usually show students as part of the first day when we’re in RStudio together. Personalizing the IDE makes it less intimidating!
140
James Clawson @jmclawson.bsky.social · 16/09/2026
But at least Illinois is one of 27 states fighting back! Check out the tool online or download the data to explore on your own.
000
James Clawson @jmclawson.bsky.social · 16/09/2026
In addition to national impact, the project lets you explore major programs in your state across 17 sectors. In my home state of Illinois, disruptions to SNAP and school lunches were responsible for 40% of the losses. www.lostfunds.org/illinois
lostfunds.org
Lost Funds in Illinois
$10 Billion in federal funding has been disrupted in Illinois. See which programs, agencies, and communities are affected — and how the state is fighting back.
101
James Clawson @jmclawson.bsky.social · 16/09/2026
Today States United and Grant Witness launched Lost Funds, a project tracking federal funding disruptions and the impacts they’ve had in states and communities across the country. I’m proud of what we built, but I wish it didn’t feel necessary. lostfunds.org
lostfunds.org
Lost Funds — $177 Billion Gone
Track the Trump administration’s federal funding disruptions state by state — what was cut or frozen, who it hurts, and how states are fighting back in court.
110
Reposted by James Clawson
Grant Witness @grantwitness.org · 16/09/2026
We're proud to partner with @statesunited.org on the new Lost Funds project, comprehensive tracker of how the administration has usurped Congress's power of the purse and harmed local governments, businesses, nonprofits, tribes, schools, universities and communities across America.
12520
Reposted by James Clawson
States United Democracy Center @statesunited.org · 16/09/2026
💰🚨 NEW: Since January 2025, the Trump administration has disrupted $177 billion across 17 funding sectors in all 50 states and DC. Our new project with @grantwitness.org tracks every dollar, grant by grant, and shows the impact of disruptions 🔗 www.lostfunds.org
lostfunds.org
Lost Funds — $177 Billion Gone
Track the Trump administration’s federal funding disruptions state by state — what was cut or frozen, who it hurts, and how states are fighting back in court.
23532
Reposted by James Clawson
Scott Delaney @scott-delaney.bsky.social · 24/08/2026
Check out our new @grantwitness.org website! 18 months ago, we launched as a humble Google Sheet listing 8 terminated NIH grants. Today, we’ve launched a new site tracking tens of thousands of grants and new awards at several different agencies. THANK YOU to everyone who's made this possible! 🧵
grantwitness.org
Grant Witness
An independent, up-to-date, grant-level record of federal science funding disruptions in the United States.
24530
Reposted by James Clawson
Max Kozlov @maxkozlov.bsky.social · 14/05/2026
NEW: A serious staffing shortage — of the Trump admin's own making — is delaying the agency's ability to send billions to universities around the country, leaving labs reeling in the meantime. “I thought we were at rock bottom”, a senior NIH official said. “We are below rock bottom now.”
nature.com
NIH staffing shortage could slash number of new grants issued this year
Some units at the US funding giant are so understaffed, they are focusing on mandated grant renewals rather than new awards.
14509323
Reposted by James Clawson
Martin Paul Eve @eve.gd · 08/05/2026
In her 143-page ruling, Judge McMahon ordered the agency to rescind the cuts while saying the plaintiffs had suffered “irreparable injury.” “The injury is not limited to the loss of money,” Judge McMahon said. Gift article. www.nytimes.com/2026/05/07/a...
nytimes.com
DOGE’s Termination of Humanities Grants Is Ruled Unconstitutional
0125
James Clawson @jmclawson.bsky.social · 29/04/2026
I’ve enjoyed this series!
010
James Clawson @jmclawson.bsky.social · 06/01/2026
I’m also very pleased with the elegant interface for functions like `italicize_titles()`, which works with both tables and figures. Check out more in the getting started page: jmclawson.github.io/tmtyro/artic... #RStats
Code and output preparing a table of word counts for documents in a corpus, with document titles depicted in italics. 

Code:
corpus_joyce |>
  tabulize()
  italicize_titles()

Output shows a table with three rows and two columns, with the first column for title and the second for word count. Dubliners is shown with 67,945 words, A Portrait of the Artist as a Young Man is shown with 84,926 words, and Ulysses is shown as having 264,975 words. Code and output preparing a bar chart of word counts for documents in a corpus, with document titles depicted in italics. 

Code:
corpus_joyce |>
  visualize()
  italicize_titles()

Output shows a figure with three horizontal bars. On the Y-axis are three book titles: Dubliners, A Portrait of the Artist as a Young Man, and Ulysses. Bar lengths noticeably increase, with the bar for Ulysses shown as more than three times the length of the bar for A Portrait of the Artist.
020
James Clawson @jmclawson.bsky.social · 06/01/2026
Super excited to share the 0.6 update to my R package for text mining. Designed for students new to #RStats (and text mining), it’s nevertheless what I use in my own work. This update packs in a ton, but my favorite new features are methods logging and labels. jmclawson.github.io/tmtyro/news/...
R code and output, showing the creation of a methods narrative from a log that was created behind the scenes. 

R code: 
bigrams_joyce |> 
  narrativize(format = "text", person = "we", return = "html")

Output:
First we retrieved a corpus from Project Gutenberg using ID numbers 2814, 4217, and 4300. Then we moved column `subsection` into body text. Next, we loaded texts by tokenizing words, converting to lowercase, and preserving paragraph breaks. We identified documents using the column `title`. Finally, we constructed bigram sequences from the text.Screenshot of RStudio’s data viewer, with tidytext-style data showing one word per row and descriptive labels under key variable names. The example data shows James Joyce’s story “The Sisters.”

The columns `doc_id` and `word` are unlabeled. 

`new_word` is labeled “new use of word.”

`hapax_doc` is labeled “document singleton.”

`hapax_corpus` is labeled “corpus singleton.”

`vocabulary` is labeled “count of new words.”

`ttr` is labeled “text-token ratio.”
1144
James Clawson @jmclawson.bsky.social · 30/10/2025
I also made a pretty basic Shiny app for loading, manipulating, measuring, and visualizing network data. It’s a little like Gephi Lite in the browser. Here’s the link: jmclawson.shinyapps.io/data_network...
jmclawson.shinyapps.io
Nodes
000
James Clawson @jmclawson.bsky.social · 30/10/2025
The later links on that page still work, if you’re ok focusing on just one movie. Here’s Episode IV for instance: evelinag.com/data/2015/st...
evelinag.com
200
James Clawson @jmclawson.bsky.social · 17/10/2025
Choo choo! An update with mapping adds current locations of trains heading to the station. 🚊 (Leaflet is *amazing* and Stamen's Toner maps look so good on device!)
Map focused on Lakeview neighborhood in Chicago. Three red circles show the locations of Red Line trains heading to Belmont station.Map focused on the downtown loop in Chicago. Multiple circles show the locations of Blue, Pink, Brown, Green, and Orange Line trains heading to the station at Clark and Lake.
010
James Clawson @jmclawson.bsky.social · 08/10/2025
🙇 Thanks!
000
James Clawson @jmclawson.bsky.social · 08/10/2025
Code repository available here if anyone wants their own: github.com/jmclawson/st...
github.com
GitHub - jmclawson/stagtracker: Shiny dashboard to display local train times
Shiny dashboard to display local train times. Contribute to jmclawson/stagtracker development by creating an account on GitHub.
150
James Clawson @jmclawson.bsky.social · 08/10/2025
Of course! It’s this 5” screen from Hosyond: a.co/d/3uuHsbS
a.co
Amazon.com
110
James Clawson @jmclawson.bsky.social · 08/10/2025
Building a #Shiny app with #RStats to track real-time train arrivals at my local station was satisfying and did the job I wanted. But getting a small touchscreen to have it all run locally on an unused #RaspberryPi makes it *unspeakably* enjoyable. I made a useful toy!
Small display beside a speaker. On the display are colored rows of purple, red, and brown, with destinations and estimated times of arrival into Belmont station—listed at the bottom beside a toggle with an arrow pointing down.
4231
James Clawson @jmclawson.bsky.social · 24/09/2025
🚨 New publication alert! My latest blog post shares findings from my work on Lawrence Durrell’s style—plus a correction or two 🙈 #DigitalHumanities jmclawson.net/posts/2025-0...
Scatter plot showing three clusters: travel writing at the far right, commercial fiction at the bottom left, and literary fiction at the top center. A few texts appear as outliers, positioned closer to other clusters.
010
James Clawson @jmclawson.bsky.social · 26/08/2025
Python has the Great Tables package with similar syntax to R’s gt package: posit-dev.github.io/great-tables... For both, you can add column-spanning values (like “equation form vs…” in the image) using `tab_spanner()`
posit-dev.github.io
intro – great_tables
020
James Clawson @jmclawson.bsky.social · 07/08/2025
Additionally, continue to plan regular video dates, whatever that means for you: Cook together or order favorites to eat together… Watch TV shows (either with video chat on silent or checking back in after the episode)… Share a crafting hobby like Legos or knitting or painting.
010
James Clawson @jmclawson.bsky.social · 07/08/2025
Seconded on the video calls. Makes all the difference to see each other regularly (and it’s a better audio quality than phone calls).
110
James Clawson @jmclawson.bsky.social · 11/06/2025
From shower idea to #Shiny app in 2 days. 😅 Little late for last week’s #TidyTuesday but I couldn’t stop adjusting! Movable Data Type explores Gutenberg data across backends, comparing structure, running queries, and visualizing distributions. #RStats #SQL jmclawson.shinyapps.io/movable-data...
Screenshot of Shiny app comparing structure and performance of one data set using Parquet files, duckDB, SQLite, and MySQL. The “Structure” page is selected, and additional pages labeled “Query” and “Languages” are also listed
1193
James Clawson @jmclawson.bsky.social · 20/04/2025
Someone’s been visited by the Easter Punny!
110
James Clawson @jmclawson.bsky.social · 20/02/2025
The Zen of CSS Design was published 20 years ago next week, and I still own my copy. To mark the occasion, I performed a little CSS magic: modern pseudo-classes add progressive reveal in a WebR learnr tutorial. 🔗 jmclawson.net/posts/quarto... My zen gardens now grow #RStats, but CSS is perennial.
jmclawson.net
Enchanting in-browser tutorials – jmclawson.net
022
James Clawson @jmclawson.bsky.social · 11/02/2025
One guard always tells a lie, and the other guard never tells the truth.
030
James Clawson @jmclawson.bsky.social · 18/01/2025
Proof that I sometimes emerge from the shadows of social media: a blog post about using Python and R to analyze Bluesky posts... about Python and R. Truly, the ouroboros of sentiment analysis. 🐍📊 #Python #RStats jmclawson.net/posts/bluesk...
Bar charts comparing NRC sentiment distributions for Bluesky posts discussing Python and RStats. In Python posts, the sentiments fear, trust, and anticipation show the highest scores of about 1.25%. Among RStats posts, the sentiments trust, anticipation, and joy score the highest, at about 2%, 1.7%, and 1.1%.
0334
James Clawson @jmclawson.bsky.social · 11/12/2024
@weatherfrontman.bsky.social Weather in Chicago, IL
110
James Clawson @jmclawson.bsky.social · 11/12/2024
@weatherfrontman.bsky.social wx in Toronto, Ontario
200
James Clawson @jmclawson.bsky.social · 11/12/2024
Apologies for what must seem like weird post spam. I’m troubleshooting a bot 🤖 and assumed Bluesky would follow Twitter behaviors for hiding away posts beginning with a mention. 🙃
000
James Clawson @jmclawson.bsky.social · 22/11/2024
@weatherfrontman.bsky.social testing!
300