5 ideas for Sweden’s new open data portal
By: Pierre Mesure
Tags: English, Open Data, Civictech

A few weeks ago, I was in Sundsvall to discuss open data. I was invited by the newly formed open data team at DIGG (Sweden’s digitalisation agency) to help shape the new version of oppnadata.se, Sweden’s open data portal.

The workshops went well and allowed us to express our needs and frustration as members of the small civic tech community in Sweden. I would even go as far as to express my hope as I saw a lot of new and motivated faces with what seems like a genuine interest in pushing for more openness in Sweden.

Not everyone seems to share my optimism. After seeing the government move open data around, from Vinnova to Riksarkivet and now DIGG, I’ve heard many wonder if this is actually the reboot they hope for. Time will tell if I was naive but I think most people will agree that Sweden can hardly lose three more years.

Captain Öppna data has had many faces over the years…

Unfortunately, I won’t be able to attend the last workshop. Civic Tech Sweden will be well represented by my friends Alessandro and Mattias but I thought I’d also put on paper some of the ideas that we got from these workshops so they can come to use, in Sweden or elsewhere. So here’s a list of five cool ideas for the future oppnadata.se, with examples to illustrate! Read until the end, there’s a twist!

User-friendly tools to manipulate the data

The Swedish open data portal is currently little more than a Wordpress website. It provides lists and a search engine to find the data you’re looking for but doesn’t help you further to visualise or process it.

Many countries and cities choose to lower the bar by providing interactive tools which make it simpler to display the data on a map or create basic graphs with it.

This is for example the case of the city of Helsingborg. Their portal, developed by OpenDataSoft, can display gorgeous maps with multiple datasets and let you share the visualisation you created or integrate it in another webpage.

It took me about 5 minutes to build this map showing Helsingborg’s public toilets and Wi-Fi hotspots.

These functions would be interesting in Sweden because the government has historically neglected one category of users even more than the others: citizens and civil society organisations. They are usually not data litterate but provide a lot of value to the society in many ways that could benefit from data.

Leveraging on Freedom of information requests (Offentlighetsprincipsbegäran)

When it comes to open data, there’s a mantra you hear all the time in Sweden:

- We need to listen to people’s needs!

- We’d like you to publish this dataset, can you do it?

- No, sorry, we prefer to release what people actually need!

- OK, here’s my need: this dataset. Can you please open it?

- Later, we first want to focus on people’s needs!

- …

The Swedish government has always been really selective in the needs it listens to. And even when they do listen, they can be really good at ignoring requests that they don’t wanna hear.

But theoretically, that makes sense, right? With limited resources, the government should prioritise the data to release.

What’s a really good source of information (the best, maybe) on which data people want?

Freedom of Information requests

(Offentlighetsprincipsbegäran in Swedish)

Every day, all public organisations receive requests for documents and information from citizens, journalists, businesses on all issues. We’re talking about hundreds of thousands of e-mails every year.

In the UK, all the requests that come to the central government and its agencies are analysed and they even publish a quarterly report on it. The USA have a website called foia.gov to help citizens send an FOI request which gathers valuable statistics. Both countries then use it to prioritise which datasets to release next.

Statistics collected by the UK government on the FOI requests they receive.

In Sweden, Elenor Weijmar and Mattias Axell at Civic Tech Sweden deployed a platform called handlingar.se (formerly Fråga staten) to do exactly that. You can use it to send a FOI request to any administration but the cool feature is that all the requests and their answer become public, enabling anyone to access the freed documents and any administration to keep track of what they get asked. There is even an API to automate the sending and fetching the data. Government bodies can also request documents and data from themselves and automate that process.

handlingar.se is an easy way for you to request a document, but also a good source of information on what datasets the Swedish government should release soon

Now you maybe got what I’m getting at. What if the national open data portal enabled you with a few clicks and a simple form to request the data it doesn’t have to the relevant administration? What if the data was added to the list of available datasets as soon as the administration sends it back?

Better. What if DIGG used information about these requests and could send once in a while, the following message to other agencies:

Dear government agency, we see that you received XXX requests this year regarding xxxxxx. According to our estimations, your collaborators spent a total of YY hours answering these requests. At DIGG, we would like to encourage you to release this data in a proactive way so you and the citizens who sent these requests can save a lot of time and effort. We remain available if you need help to do so. Best, DIGG

Well, I’m not making anything up. In addition to the UK and the USA, several other countries have adopted this approach.

Canada is a good example. On their open portal homepage, a link to a form to request information stands in the middle. It checks that the data isn’t already freed, helps people to find which institution probably has it and automatically publishes the data on the portal when the request is fulfilled. Since 2017, more than 30 000 documents have been released this way.

By saving thousands of hours to the civil servants answering these requests, developing this function on the future open data portal would easily pay for itself 1000 times.

But there isn’t actually much to develop. Tools like Handlingar (based on the open source solution Alaveteli) could easily be interfaced with the future portal. At Civic Tech Sweden, we are always open to collaborate.

Creating a community around the data

This is a path followed by many open data portals around the world but let’s take a Swedish example.

Trafiklab is one of the cool kids of open data in Sweden. Thanks to Elias and his team, data for collective transportation is easily available and used in many services that people use daily.

On their website, a key feature is the Projekt tab, which shows all the registered services using the APIs. In many cases, people link to a Github repository with the code they wrote. In some, to the app that they built.

Trafiklab shows a list of projects using its APIs

This achieves two goals: it helps data reusers to see how others have used it and it gives precious information to the data providers.