The market monitored on this website is the Spanish real estate market 🏠. The whole project can be forked and is under the CC BY 4.0. The author supports open knowledge and only requires attribution.
The database is hardcoded, since it relies on many dispersed sources, some have APIs, but most not. And even so I try to be cautious and avoid mistakes, errors can occur, so I encourage the review and verification of the database. If encountered any, the creation of Issues and Pull requests for the database are welcome, you can also reach me through various channels.
The database can be found in spahousing/public/docs/, presented in two different file formats.
Full review and modification is better to be done in .ods, since some indicators are originated from other internal indicators, and the formulas can only be seen and edited in the mentioned format. Alternatively, formulas and variable names can be consulted at the metadata.json file.
All charts are done with the JavaScript library chart.js, and the barometer gauge has been built with d3.js. All scripts are available at:
If you are creating data visualizations with D3js or chartjs you can import the database .csv file from the repository using the import option from the D3js library, like this:
d3.csv('https://raw.githubusercontent.com/galetaire/spahousing/main/public/docs/spain_stats_csv.csv')
.then(makeChart);
You can reach me through X: @HousingSpanish, or Reddit: u/HousingSpanish. To talk about the Spanish housing market join our reddit community: r/SpainHousing.
All the self-made content is released under the terms of the Creative Commons Attribution-ShareAlike 4.0 International Public License. Consider that there is a lot of public domain data, and you do not have to comply with the license for elements of the material in the public domain.
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
