Last week SPF Economie kickstarted Open Data project for easier access to many of their datasets. Just yesterday
BelgiumStatistics package for
R got released allowing for easier integration of these datasets within
R. To celebrate this, I thought of making some maps just to play with available datasets.
BelgiumMaps will be released soon so that plotting such maps will be much easier. While waiting for it, here is an example already of what we can already do with publicly available data. I use shapefiles provided by Atlas Numérique de Belgique maintained by Université de Liège. In my case, all of this is stored in a
PostgreSQL database although this is not necessary. You can download these manually and adjust
readOGR function accordingly.
Here is the script I will use to import maps that I will need later.
Now it remains to load up the Belgian data and plot some maps. I decided to check terrain occupation and compare it between years 1983 and 2015. My variable of interest is absolute change in surface area for terrain with constructions (declared officially). To make it short, I will call it construction area. This area includes residential buildings, commercial buildings, public buildings, monuments and a few more. As you may expect, this area increased for almost all municipalities between 1983 and 2015. The only exception is Farciennes municipality in the province of Hainaut where it slightly decreased.
Thankfully, the map and terrain occupation datasets have INS identifiers which allows to easily do joins to match municipality geodata with appropriate statistics.
We have generated a full dataset that can be now mapped. We will color the map based on a few quantiles calculated for the change in construction area. It suffices to get some nice colors and a few more geographical layers so that the map looks more informative.
This code should give you a map looking similarly to this one.
Highest construction activity seems to be concentrated in highly populated areas such as Antwerp, Genk, Charleroi and Namur. In the low populated Luxemburg province this activity seems to be on the contrary very low. This is probably not very surprising.
What looks more interesting is that there is also notable increase especially along the highway E17 between Ghent and Antwerp and along the area covering Antwerp and Limburg provinces. Visually, it really looks like most construction activity outside major cities took place along E17, E313, E314 and E34 highways in the Flanders region. Strangely, the area along the E411 highway connecting Brussels and Luxembourg does not seem to attract too many construction projects.