Structural, electronic phase transitions and thermal spin transport properties in 2D NbSe2 and NbS2: a first-principles study. Issue 3 (28th October 2022)