Data analytics and visualization projects

First Trump-AMLO summit: How strong is each other's position in their respective countries?

An analysis of the position in which Donald Trump and Andrés Manuel López Obrador take their first in-person meeting.
Source: Gallup (Trump's raiting), Consulta Mitofsky (AMLO's raiting).

Despite it's difficult to find two heads of state with so many differences on their personalities and ruling style, the first ever in-person meeting between Andrés Manuel López Obrador and Donald Trump occurs at a time in which both presidents are going through similar moments.


Generally speaking, the AMLO administration, has faced many challenges even before the pandemic. Although the current violence crisis in the country did not began with AMLO, the figures show that his government's strategy to confront the problem has not been effective, with record breaking homicides related to drug cartels disputes. On the economic side, AMLO promised an annual 4% growth during his campaign, but the reality is that the mexican economy ended 2019 with a 0.1% growth, almost in recession. And on the fight against corruption, 30% of people who had any contact with a public officer experienced a corruption act in 2019, according to the National Survey of Government Quality and Impact, a 5% increase from the previous measuerment. Despite these negative results, AMLO's approval raiting before the pandemic shows that his personal style, characterized by its closeness (on a rhetorical level) to the most vulnerable sectors of the country, was mostly appreciated by a majority, marking a contrast with his predecessor, Enrique Peña Nieto.


The Trump Administration, despite the apparent state of continuous crisis, began its fourth year on a strong note. Trump was acquitted of all charges in his impeachment trial, which combined with a 3.5% unemployement rate (a 50-year record low), a 28.9% growth in the stock market in 2019, a de-escalation of the crisis with Iran that left no victims on the american side, and an open race in the Democratic party for the election of the nominee for the november election with no clear favorite, placing him in the most favorable position he had been in his whole presidency. Even though there were more people who disapproved his presidency than the ones who approved it before the pandemic, the margin of difference was very short, and thanks to the internal divisions in the Democratic party, his reelection prospects looked the strongest they have ever been.


Then, the pandemic. Both presidents had similar reactions to it, at first in late february and march, minimizing the crisis, then embracing the social distance narrative for a short while in april, then pivoting to the importance of reopening the economy in middle to late may, despite the COVID-19 cases and fatalities kept rising.


Trump was criticized at first for failing to act soon enough and then for his attempt to reopen the economy faster than recommended, while AMLO was criticized for failing to take countercyclical economic measures to ease the economic crisis. But, as the change in their approval raitings from april to may show, people in Mexico and the US gave their presidents a vote of confidence.


June changed everything for both presidents.


The tension towards structural racism and race inequality triggered by the murder of George Floyd caused weeks of social unrest in the US, while Trump's answer to it was to adopt a "law and order" message, which resounded with his base but alienated a wide majority of americans who saw it as insensitive and tone deaf, as his june approval raitings show. In AMLO's case, despite his efforts to change the narrative towards the 2021 midterm elections, the homicide rates, the corruption scandals in his cabinet, the exacerbation of the economic crisis and his government's uncapability to flatten the contagion curve, brought his approval raitings down.


This summit occurs at a time in which both presidents need a victory. Trump's reelection prospects look quite tough according to the polls, and AMLO knows that Mexico may be on the brink of an unprecedented crisis which, among other things, could steal from him the legislative majority he needs to keep implementing his program after the 2021 election.


Conclusion: the reality is that is unlikely that this summit does any real good to any of them.


Because of his past remarks about mexicans, Trump is widely unpopular in Mexico. The fact that AMLO's first meeting abroad in almost two years as president is with Trump and under his conditions while Trump is bragging about the border wall and trying to end the DREAM act (which protects undocumented youngsters, much of them mexican, who arrived to the US as little children), will undoubtedly have a negative impact on the Mexican president's base, despite the trade talk spin he is trying to make of this summit. Also, the fact that AMLO did not took any steps to reach out to any Democratic leader or the Democratic presidential nominee Joe Biden while in Washington, could potentially tense the relationship with him.


For Trump, this would probably have a quite low impact, seen only as an attempt to change the conversation by trying to place one of his main promises, which was to replace the NAFTA trade deal, as the center of attention while new COVID-19 cases spike in almost every state are driving the governors to suspend the reopenings.




How does a country’s coordinates affect its level of wealth?

An analysis to determine if, besides humans' input and actions, does a country's coordinates cast an influence on its wealth/poverty level.

Process
  • 1.- Downloaded and cleaned several datasets reflecting different aspects of a country.
  • 2.- Used Jupyter notebooks to merge them into unified dataframes.
  • 3.- Used Google Maps API to extract each country’s coordinates and then, merged them with the unified dataframe.
  • 4.- Used Pandas to plot the dataframes with the countries’ coordinates.


World map of countries by their income level. It can be seen that the closer a country is to the Ecuador, the lower its income level is, and the further it is from the Ecuador, the opposite happens.

Countries’GDP per capita by latitude. As with the income groups, the smallest GDPs are closer to the Ecuador, and the biggest GDPs like Qatar or Luxembourg are further away.

Countries’ transparency by temperature. With a direct correlation existing between a country's coordinates and it's average annual temperature, almost every country that scores above 80 in the transparency index have a cool average annual temperature, between 0°C and 12°C.

Countries’ GDP by transparency. While cooler countries tend to be more transparent than the hotter ones, the biggest GDPs per capita are among the countries with the higher scores on the transparency index, and the least transparent ones are the smallest GDPs per capita.