For many years, studying human behaviour and the decision-making process was limited to observing the outcomes or to analysing small samples. The digital revolution is offering new data sources (such as posts on social media or health apps) and data analysis tools that make it possible to study large numbers of individuals, enabling the emergence of computational social sciences.