This repository contains the datasets and codes of my last book. In this directory, one can find: A subdirectory for each chapter with exercises. The 'Federalist' directory containing 82 text files, one for each Federalist article. A video presenting how to use R and the package style (https://www.youtube.com/watch?v=pWOCfZnitdc) Licence, a GNU general public license v3.0 As online resources, one can mention: The stylo package: https://github.com/computationalstylistics/stylo List of papers on stylometry: www.zotero.org/groups/643516/stylometry_bibliography List of corpora: www.unine.ch/clc/en/home/Corpus.html Corpora for humanities: https://computationalstylistics.github.io/resources/