A longitudinal study of deprivation in European countries