Analysis of 2017 election results