Dr. U's Avatar

Dr. U

@transport-talk

#rstats user and developer. umairdurrani.com

519
Followers
493
Following
248
Posts
03.12.2023
Joined
Posts Following

Latest posts by Dr. U @transport-talk

Here is one of my recent apps that uses golem: github.com/durraniu/sto...

golem hasn't changed much so most official examples would work today with little to no changes. Here are more resources: golemverse.org/resources/

17.12.2025 00:09 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Introduction | Engineering Production-Grade Shiny Apps A book about engineering shiny application that will later be sent to production. This book cover project management, structuring your project, building a solid testing suite, and optimizing your code...

The best resource for learning {golem} is Engg. prod-grade shiny apps: engineering-shiny.org

Examples are here: github.com/ColinFay/gol...
And here: github.com/ColinFay/gol...
Coronavirus dashboard with {golem}: github.com/JohnCoene/co...

16.12.2025 21:32 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Based on the {golem} structure, in an app package, app.R is in the project root and www goes in inst/app. But app.R can also go in inst/app when the app is an add-on.

10.12.2025 01:16 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

You may propose more books/courses.

10.12.2025 00:23 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Would you be interested in completing courses/books in the upcoming #transportation science learning community (TSLC) in 2026? Proposed book clubs:

1. Transport Data Science
2. Road Safety Research
3. Traffic Flow Dynamics
4. Intro. to Urban Accessibility
5. Traffic Simulation with SUMO

#RStats

10.12.2025 00:22 ๐Ÿ‘ 4 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Perhaps the videos on Web APIs for R playlist on dslc YouTube channel?

06.12.2025 22:04 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 1
The Mechanics of Machine Learning This book is a primer on machine learning for programmers trying to get up to speed quickly.

The Mechanics of Machine Learning covers just a couple of algorithms (mainly random forest), but shows the general workflow really well: mlbook.explained.ai

06.12.2025 18:22 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Hey folks who work/study in any field of transportation, would you be interested in an online community that hosts book clubs, help channels, contests, etc.? What would you like to see in it? #RStats #transportation

22.11.2025 21:03 ๐Ÿ‘ 7 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

I got rid of the RStudio splash screen by setting the environment variable RS_NO_SPLASH with value 1. Restart RStudio and it should be gone.

19.11.2025 23:37 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Video thumbnail

Quarto fenced divs, custom layout, and SCSS can make pretty nice websites.

Website: quarto-bighead.netlify.app
Source: github.com/durraniu/qua...

#RStats #Quarto

19.11.2025 23:34 ๐Ÿ‘ 9 ๐Ÿ” 0 ๐Ÿ’ฌ 2 ๐Ÿ“Œ 0

rv may be a good option for you: github.com/A2-ai/rv

16.11.2025 19:39 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

My R+AI Conf talk is now available on YouTube: youtu.be/828KuEORQdg?...

I talked about my R package {brandthis} that helps you getting started with theming your quarto outputs and shiny apps by quickly generating brand.yml files and color palettes for R and Python plots

#RStats

16.11.2025 02:58 ๐Ÿ‘ 25 ๐Ÿ” 2 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Or use {conflicted}

13.11.2025 23:21 ๐Ÿ‘ 3 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Congrats!

13.11.2025 12:47 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
GitHub - michdess/tailwind: Website clones/examples using Tailwind CSS. Website clones/examples using Tailwind CSS. Contribute to michdess/tailwind development by creating an account on GitHub.

Yes, tailwind CSS only. No other JS libraries were used. Original tailwind source for the example is: github.com/michdess/tai...

12.11.2025 22:19 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Brand Your Docs, Apps, and ggplots Using LLMs

Thanks @rconsortium.bsky.social for organizing the R + AI conference. The slides for my talk are available here: dru.quarto.pub/brandthis/#/...
#RStats

12.11.2025 22:17 ๐Ÿ‘ 6 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Glad you liked the talk. Let me know if you try {brandthis} and anything that can be improved.

12.11.2025 22:09 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Video thumbnail

Can you believe this is made with {ambiorix} + tailwind? #RStats

12.11.2025 03:30 ๐Ÿ‘ 5 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 1
Screenshot showing speakers from the upcoming R+AI event - View of many headshots

Screenshot showing speakers from the upcoming R+AI event - View of many headshots

TOMORROW! R+AI 2025 goes live!

Highlights:
โ€ข Joe Cheng (Posit): Keeping LLMs in Their Lane
โ€ข Oracle ML: RAG from your DB (Hornick & LaMonica)
โ€ข Troy Hernandez: Stable Diffusion in R
โ€ข Many, many more!

Nov 12โ€“13. See the full program and register: rconsortium.github.io/RplusAI_webs...

#rstats #AI

11.11.2025 18:43 ๐Ÿ‘ 10 ๐Ÿ” 4 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

No cheat sheet, but a lot of shortcuts in Positron are from VSCode.

08.11.2025 03:46 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

CTRL + / is so good for commenting in any language in positron!

# R/Python
// CSS/JS
<!-- HTML -->

#RStats

06.11.2025 23:36 ๐Ÿ‘ 5 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Video thumbnail

createBranding app is now available with the {brandthis} R package: github.com/durraniu/bra...

Use LLM to generate brand.yml -> Review and iterate on results -> Create color palettes for plots

Credit goes to the brand.yml app in {bslib}. Thanks @grrrck.xyz

#RStats

05.11.2025 05:10 ๐Ÿ‘ 8 ๐Ÿ” 1 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Found it, it was tidychatmodels: github.com/AlbertRapp/t...

04.11.2025 22:56 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Post image

Did the chat interface use to be pipeable in {ellmer}? I saw this in a talk on the @landeranalytics.com channel: youtu.be/OLXp7I7xmtU?...

But could not find the functions add_model, add_params, etc. in {ellmer} docs.

#RStats @hadley.nz

04.11.2025 22:00 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Post image

{brandthis} is ready to install. Try it and let me know if anything breaks: github.com/durraniu/bra...

Here's an example site that uses the generated _brand.yml and color palettes: dru.quarto.pub/brandthis-de...
#RStats

04.11.2025 04:06 ๐Ÿ‘ 11 ๐Ÿ” 7 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Video thumbnail

TIL that brand.yml works for closeread outputs! #RStats

02.11.2025 02:28 ๐Ÿ‘ 2 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Try CTRL + /

31.10.2025 16:00 ๐Ÿ‘ 2 ๐Ÿ” 2 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Video thumbnail

{brandthis} R package is almost ready with functions for:

* Generating _brand.yml

* Color scale suggestions from {ggsci} and {paletteer}

* Generating discrete, sequential, and diverging color palettes from the _brand.yml color palette

#RStats

31.10.2025 05:37 ๐Ÿ‘ 15 ๐Ÿ” 3 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Plotting. ggplot2 interface makes sense to me compared to matplotlib and Observable.
Also, ellmer >> chatlas because WTH is pydantic?

30.10.2025 00:56 ๐Ÿ‘ 6 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Web APIs for useRs: Getting data from websites, databases, and LLMs - Umair Durrani
Web APIs for useRs: Getting data from websites, databases, and LLMs - Umair Durrani YouTube video by useR! Conference

My useR! 2025 talk on Web APIs with R is now available on youtube: www.youtube.com/watch?v=XPMs...

I showed the basic workflow of {httr2} and how to create fictional stories by calling LLM provider APIs. #RStats

29.10.2025 21:06 ๐Ÿ‘ 16 ๐Ÿ” 2 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0