A data-driven approach to city building