Application of machine learning algorithms for the study of Galicia population’s social characteristics in the interwar period (1919-1939)