Social and economic factors mediating the transmission of COVID-19