It has been a presidency plagued with chaos, bluster, temper tantrums and tweets and it is one that has tested democracy, the media and deepened the divide in what was an already divided country.