Property sales analytics with rbooli .
There is a great R package written by Thomas Reinholdsson as a wraper for the Booli API (Booli is a Swedish site which hosts data from the real estate market in Sweden)
There are many unexplored areas in the real estate data in Sweden, and this post will attempt to present a few visualizations and ideas.
After this, let’s install the rbooli package:
Next, lets call the API with the callerId and privateKey we received from Booli:
The query above sends a request to the API to return 10 properties that were sold in the Stockholm region.
The API allows three different paths: listings, sold and areas. The first one is for properties on the market, the second is for sold properties, and the third is for searching a specific area.
The parameters for the API are listed int the documentation here: https://www.booli.se/api/reference
Lets test if the rbooli package can get other parameters, for example, can we get all properties listed on the December 20th, 2016 which have maximum price of 4 million SEK:
As you can see, there is plenty of data to mine. There is geolocation, price, housing type, area and so on.
And if there is data to mine, I have plenty of questions to ask. :)
In my next post I will explore some ways to collect data from the API and to visualize trends. For example, I would be curious to see the selling price of properties for a specific area for the past 3 years and how the trend is per property type.