A multilevel analysis of factors influencing local social interaction