Open-source code and open data for smart communities