Assessing urban resilience using network science and data mining