An R companion to political analysis. (2017)