Having lived there and having a Turkish son in law I will add my tuppence for what it is worth.
Erdogan is a very dangerous man, when I first moved to Turkey it was a very secular state, Females who wore the hijab ( headscarf ) where not allowed to go to university, could not hold high ranking jobs or be TV presenters, but as Erdogan has gained power he has changed the Turkish constitution and allowed the country to become more Islamic and has strengthened his grip on power.It is the opinion of several of my Turkish friends that his ultimate aim is to re- create the sultanate or caliphate that was Turkey before Mustafa Kemal Ataturk came to power and created the Turkish Republic in effect he wants to bring back the old Ottoman Empire.
When Ataturk created the Republic he changed the alphabet to the European from the Arabic and told the people to look to the west not the east for progress, he in effect turned his back to Islam as such and turned turkey into a westernised Nation and gave the ultimate power to the armed forces who have staged several Coups in fact when it looked like the country was again turning east the last I believe in 1980.Over the last decade Erdogan has had many purges of high ranking armed forces personnel and high ranking figures of authority who it would appear stood in his way and has slowly strangled the power of said people thus allowing him to pursue his objectives.
If you look at recent European history this is pretty much the same as Adolf Hitler and Josef Stalin did, in Germany in the 30's it was the night of the long knives and the burning of books ( education ) and in Russia it was the purge of most of the military generals and high ranking soldiers whom Stalin felt threatened by. Erdogan is pretty much doing the same with the closure and seizure of more and more of the free press,the detention without trial of many thousands of journalists and his said purges of all high ranking officials who he feels threatened by.
In effect If Hitler and Stalin had a love child the person would be ERDOGAN, THE MAN HAS NO FEAR OF WHO HE UPSETS IN HIS QUEST TO BE THE EMIR OR SULTAN AND LEADER OF THE NEW OTTOMAN EMPIRE OR ISLAMIC CALIPHATE, BE AFRAID PEOPLE BE VERY AFRAID BECAUSE IF HE GETS AWAY WITH THIS THERE WILL BE NO STOPPING HIM AND HIS MAD INTENTIONS FOR THE WORLDS FUTURE.