Generative AI Tools for Mapping
Creators & Contributors
David Bann and Liam Wright have put together a great guide to Generative AI Tools for Quantitative Research on the NCRM resources site. This is a great overview of what Generative AI is, how it works and all of the potential different models available, both commercial and open source, as well as how to run some models locally rather than relying on the cloud. They are also very focused on the practical elements of how to actually use the tools in your work, discussing the different approaches as well as highlighting the importance of making sure you do not share sensitive data with cloud services. They also have a great selection of videos for setting up both cloud based and local LLMs for working with Stata and R scripts in a number of tools including VS Code: Video 4 in their series had a thumbnail of a map, so of course that got me interested! Anyone reading this blog should know that I am a big fan of maps :-) This was a great example of using Positron IDE (produced by the same people who make RStudio) to help write code that creates a map of crime rates across England and Wales. They give a great overview of the process of making this map, and say: It really shows the potential this technology has about making a wide range of tools much more widely available and used. However, it also shows some of the limitations of working with a generative AI. It is missing some key subject specific knowledge, with which you could turn this reasonable map to an excellent map without a lot more work. I would recommend watching the video for more details, but I will summarise the key bits here (thanks Claude.ai for the summary, which I tweaked!) So - very good as a first effort. Just to be clear I am not trying to be critical of Liam or the resources he has created - these are amazing and it is great that they are out there. I am trying to highlight some of the limitations of relying exclusively on GenAI for working in an area new to you. In fact, Liam explicitly acknowledges this and has, in fact, signed up to one of my upcoming courses on to learn more about GIS :-) So, what do I think Claude missed? So overall, generative AI is a fantastic tool and thanks to much to David and Liam for putting together this resource, and thanks to the NCRM for hosting it. It's a great starting point for any new method, but has some clear limitations. If you know the field, then you already know what the limitations are, but if you are new to the field beware - generative AI will not tell you that it does not know things or what it might be missing. It's well known for being over confident, so remember to bring your critical thinking when making use of these technologies! If you want to learn more about GIS, and using R as a GIS, check out my up coming training courses with NCRM in April and May this year. If you have any questions, please do contact me.NCRM: Generative AI Tools for Quantitative Research
Video 4: an applied example
Limitations
tmap package rather than the ggplot2 package for creating maps in R. ggplot2 is a generic graphics package - it can do maps, but can do other graphics as well. tmap is a specific mapping package, and the defaults for the maps it creates are better than the defaults ggplot2 uses - in my opinion. A lot of preference is down to individual style - there is no categorical right or wrong here. David O'Sullivan wrote a very nice comparison of the differences on his blog.Summary
Additional details
Description
NCRM: Generative AI Tools for Quantitative Research David Bann and Liam Wright have put together a great guide to Generative AI Tools for Quantitative Research on the NCRM resources site. This is a great overview of what Generative AI is, how it works and all of the potential different models available, both commercial and open source, as well as how to run some models locally rather than relying on the cloud.
Identifiers
- UUID
- d2af19be-49ff-48d9-b399-578bf67e60b3
- GUID
- https://nickbearman.github.io/blog/2026-04-genai-r-maps/
- URL
- https://nickbearman.github.io/blog/2026-04-genai-r-maps/
Dates
- Issued
-
2026-04-08T01:00:00
- Updated
-
2026-04-08T01:00:00