Spatio-Temporal Analysis Of Urban Data And Its Application For Smart Cities