Thermodynamic properties of the RENiIn hydrides with RE = La, Ce, Pr and Nd