Category Archives: data journalism

What stories can you tell using AI and satellite imagery? Here are some ideas

In the second of two guest posts for OJB, first published on the ML Satellites blog, MA Data Journalism student Federico Acosta Rainis uses the 8 angles used by data journalists framework to explore satellite image-driven journalism.

Satellite-driven stories don’t have to use using artificial intelligence (AI) — many can be told using satellite data alone, without. The main advantages of AI include quantifying phenomena, identifying patterns, showing changes or finding a “needle in a haystack” across large territories or different time periods.

AI algorithms can also be used to automate a process: since satellites produce recurring data, you can build, for example, a platform that automatically detects changes in the size of forests.

Paul Bradshaw’s framework for data journalism angles recognises eight types of stories: scale, change, ranking, variation, exploration, exploration, relationships, stories about data and stories through data. The same framework can be adopted to generate ideas for satellite journalism, too.

Continue reading

Journalism, AI and satellite imagery: how to get started

Satellite image of the Amazon. Tocantins, Brazil. Source: Copernicus Sentinel data [2022] processed by Sentinel Hub, using Highlight Optimized Natural Color.

In the first of two guest posts for OJB, first published on ML Satellites, MA Data Journalism student Federico Acosta Rainis explains how to get started with satellite journalism — and avoid common pitfalls.

Working with satellite imagery and AI models takes time and patience. There is no general rule: you have to find the right model for each case, in a process of trial and error, while crunching large amounts of data.

That is why the advice of Anatoly Bondarenko, data editor of Texty, is crucial:

Continue reading

VIDEO: An introduction to HTML and CSS for data journalists

Data journalists don’t necessarily need to know how to create webpages — but a basic understanding of HTML and CSS can be useful when communicating with designers and developers, when generating HTML output in R notebooks, when creating advanced visualisation, or when getting into scraping.

In this video — first made for students on the MA in Data Journalism at Birmingham City University and shared as part of a series of video posts — I provide an introduction to the aspects of HTML and CSS that are helpful for those starting out with data journalism. It is best watched alongside the previous video on responsive web design.

Links mentioned in the video:

VIDEO: Thinking mobile-first in data journalism

As news audiences have moved from desktop-based to primarily mobile consumption, the news industry has moved to mobile-first production — but it’s very easy to forget mobile when working on a data journalism project.

In this video — first made for students on the MA in Data Journalism at Birmingham City University and shared as part of a series of video posts — I explain what considerations a data journalist should have when approaching a story with a mobile-first mindset, and some useful tools to help you see what a story looks like on different devices.

Links mentioned in the video:

VIDEO: How to use R to fetch data from a postcodes API

All this week I have been publishing videos about APIs, from how data journalists use APIs and the jargon involved, to understanding the data formats they return. In this final video — first made for students on the MA in Data Journalism at Birmingham City University — I explain how to use an R notebook to fetch data from one particular API, postcodes.io.

You can find the notebook with all the code on GitHub here.

VIDEO: Understanding JSON and XML (when using APIs)

In two previous videos this week I introduced APIs for data journalists, and explained some of the jargon involved. In a short third video — first made for students on the MA in Data Journalism at Birmingham City University and shared as part of a series of video posts — I explain how to understand the data formats you’re likely to come across: JSON and XML.

One useful tool to install in your browser to help with this process is JSONView.

Links mentioned in the video:

VIDEO: Understanding API jargon for data journalists

Yesterday I shared a video introducing APIs for data journalists. In this video — first made for students on the MA in Data Journalism at Birmingham City University and shared as part of a series of video posts — I explain some of the jargon you’re likely to come across when using an API.

That includes ‘functions’ and ‘methods’ that allow you to request certain types of data; ‘arguments’ that allow you to specify what you want data about, or what format; and API ‘keys’ that act as passwords to access the data.

Links mentioned in the video:

VIDEO: What are APIs — and how are they used in data journalism?

APIs can be very useful sources of data for data journalists. In this video — first made for students on the MA in Data Journalism at Birmingham City University and shared as part of a series of video posts — I explain what an API is and how they have been used in a variety of data-driven stories.

Links mentioned in the video:

VIDEO: How (and why) to create an R notebook for data journalism

Notebooks are one of the ways that data journalists document their work, and make it transparent for others to follow and reproduce. In this video — first made for students on the MA in Data Journalism at Birmingham City University and shared as part of a series of video posts — I explain what notebooks are and walk through how to create one in RStudio.

(Check out yesterday’s video on the pros and cons of R in data journalism for an introduction to R in general)

You can read Knuth on literate programming here; more on the pitfalls of “bad Excel”; and the story about the Excel spreadsheet that led to austerity here.

VIDEO: Why is R used by data journalists?

R — along with Python and JavaScript — is one of the most popular programming languages used by data journalists. In this video — first made for students on the MA in Data Journalism at Birmingham City University and shared as part of a series of video posts — I explain what R is and why you might choose to use it rather than spreadsheets alone, or other languages, in your work.

Oh, and a quick caveat: since Colab notebooks were added to Google Drive, I now prefer Python — but it’s a personal thing, and most of this video can be applied to either language.

The talk by FiveThirtyEight’s Andrew Flowers mentioned in this video can be found here.

Continue reading