A General Methodology to Measure Labour Market Dynamics