The structure and dynamics of networks of scientific collaborations in Northern Africa