Tracking traffic congestion and accidents using social media data