I’ve created a dashboard which shows the (rolling) average of headlines mentioning ‘recession’ as percentage of total headlines in the dataset. Since this gave some interesting results I decided to add more terms (eg TRUMP, TENSION or headlines with negative or positive connotation), in order to see how they compare the sp500. You can see detailed result in an online dashboard available at:
recession-sentiment.herokuapp.com/ (might take some time to load as the dataset is rather large and its on a free plan)
Analysis is done in Python. Visualization and interactive dashboard is made using Plotly Dash.
Additionally I also included the same analysis for financial Twitter accounts (eg @markets, @Financialtimes etc), which are displayed in a similar fashion.