Rafael H M Pereira

794 Followers
195 Following
544 Posts
Researcher at Ipea Brazil | Visiting prof @geo_uoft | PhD @TSUOxford | Structured procrastination on Cities, Urban mobility, Accessibility, Equity, Data science, R
Websitehttps://www.urbandemographics.org/
LinkedInhttps://www.linkedin.com/feed/
Google Scholarhttps://scholar.google.co.uk/citations?user=dbRivsEAAAAJ&hl=en
Twitterhttps://twitter.com/UrbanDemog

🚩 Our poster, "An Inventory of Spatial Machine Learning Packages in R" was presented at #FOSSGIS2025 in Münster.🚩

It compares caret, mlr3, and tidymodels for spatial ML and highlights other relevant R packages.

Poster and related materials, including code: https://loek-rs.github.io/FOSSGIS2025-examples/

#rstats #rspatial #machinelearning @FOSSGISeV

An Inventory of Spatial Machine Learning Packages in R

An Inventory of Spatial Machine Learning Packages in R

FOSSGIS2025-examples
Are you in Toronto and interested in transportation? I'll be teaching transportation modeling to calculate travel times and accessibility to destinations in #rstats using #r5r ! Free workshop April 8 @ UofT https://www.eventbrite.ca/e/bousfield-urban-accessibility-r-crash-course-tickets-1284533186339?aff=oddtdtcreator
Bousfield Urban accessibility R Crash Course

Join Bousfield instructor Rafael H. M. Pereira as he leads a crash course on urban accessibility with R!

Eventbrite
Here are some of public seminars and workshop I'll be involved in during the next weeks in Toronto. Drop by in case you're around and interested in all things spatial data science with R, sustainable & inclusive cities, accessibility and transp equity https://www.urbandemographics.org/post/toronto-visit-2025/
Toronto visit | Urban Demographics

Urban Demographics
If you're in Toronto in the next few weeks, I'll be delivering the Bousfield Lecture on April 2. This is part of my visiting prof position at Toronto Uni.
So if you're interested in 'Advancing Urban Accessibility for Inclusive Cities', you can register here: https://forms.office.com/pages/responsepage.aspx?id=JsKqeAMvTUuQN7RtVsVSELqfyoLL0eBDvjwF9A9nd-5UMkJMWURUSElaSU5SRUpET0FHUk5LSFVVTS4u&route=shorturl
Microsoft Forms

“We’re already in March 2025, and only now this guy is posting about his highlights of 2024?!". Yes, and I hope it’s not too late lol. https://www.urbandemographics.org/post/highlights-of-2024/
Highlights of 2024 | Urban Demographics

Urban Demographics

I found a great excuse to make a bunch of fun ggplots. As if I needed one.

https://github.com/thomasfeliciani/2024_cover_images

--
#rstats #generative #ggplot #rayshader

GitHub - thomasfeliciani/2024_cover_images: Walk-through for generating the images used on the book cover and chapter pages of my PhD dissertation.

Walk-through for generating the images used on the book cover and chapter pages of my PhD dissertation. - thomasfeliciani/2024_cover_images

GitHub

{rectpacker} now on CRAN!

An #RStats pkg for "optimally" packing rectangles into a box

https://cran.r-project.org/package=rectpacker

My use case: I needed to pack multiple graphics sprites into a single image without any overlap or too much wasted space.

Uses STB's rect pack library

rectpacker: Rectangle Packing

Rectangle packing is a packing problem where rectangles are placed into a larger rectangular region (without overlapping) in order to maximise the use space. Rectangles are packed using the skyline heuristic as discussed in Lijun et al (2011) 'A Skyline-Based Heuristic for the 2D Rectangular Strip Packing Problem' <<a href="https://doi.org/10.1007%2F978-3-642-21827-9_29" target="_top">doi:10.1007/978-3-642-21827-9_29</a>>. A function is also included for determining a good small-sized box for containing a given set of rectangles.

BBC's Visual and Data Journalism Cookbook for R Graphics and their {bbplot} #RStats 📦are useful resources for making publication-quality graphics in
#R

https://bbc.github.io/rcookbook/

#ggplot2 #DataViz

BBC Visual and Data Journalism cookbook for R graphics

Here's a request: please don't poke fun at Americans. Roughly half of them are heartbroken or even frightened right now. They're the ones who read you. The folk that made this a reality don't, and if they do they give zero fucks what you call them. So maybe just show some compassion.