top-countries-mentioned-by-donald-trump

🌎 A data visualization project showing the top countries and diplomatic relations mentioned by Donald Trump in his presidential term from 2017 to 2020.(展示唐纳德·特朗普在其2017年至2020年总统任期内提及的国家外交关系的数据可视化。)

https://github.com/czs108/top-countries-mentioned-by-donald-trump

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.0%) to scientific vocabulary

Keywords

data-science data-visualization diplomacy donald-trump natural-language-processing
Last synced: 6 months ago · JSON representation ·

Repository

🌎 A data visualization project showing the top countries and diplomatic relations mentioned by Donald Trump in his presidential term from 2017 to 2020.(展示唐纳德·特朗普在其2017年至2020年总统任期内提及的国家外交关系的数据可视化。)

Basic Info
  • Host: GitHub
  • Owner: czs108
  • License: mit
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 14.5 MB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
data-science data-visualization diplomacy donald-trump natural-language-processing
Created about 5 years ago · Last pushed about 2 years ago
Metadata Files
Readme License Citation

README.md

Top Countries Mentioned by Donald Trump

Python License

About The Project

Cover

This data visualization project shows the top countries and diplomatic relations mentioned by Donald Trump in his presidential term from 2017 to 2020. The related data are from his Twitter, speech transcripts and the State of the Union Address.

All processes are finished by Python. There is no third-party data platform involved.

Getting Started

Prerequisites

bash pip install -r requirements.txt

Running

bash python main.py

Datasets

The project contains three .csv datasets, all coming from Kaggle. They are in the data/origin directory.

This contains Donald Trump's tweets from 2009 to 2020.

This contains all official presidential speeches of the United States from 1789 to 2019.

This contains the State of the Union Address of the United States from 1790 to 2019.

Visualization

The statistics are represented by three charts. All charts are in the data/visualize directory.

  • Stacked Bar Chart

stacked-bar-chart

  • Flow Map

flow-map

  • Sankey Diagram

sankey-diagram

Documents

See docs/wiki.md for the details.

Dependencies

License

Distributed under the MIT License. See LICENSE for more information.

Owner

  • Name: Chenzs108
  • Login: czs108
  • Kind: user
  • Location: Dublin, Ireland
  • Company: Susquehanna International Group

Software Development | Artificial Intelligence | Reverse Engineering. For more projects, see @Zhuagenborn.

Citation (CITATION.cff)

cff-version: 1.2.0
authors:
- family-names: Chen
  given-names: Zhenshuo
  orcid: https://orcid.org/0000-0003-2091-4160
title: Top Countries Mentioned by Donald Trump
date-released: 2020-12-18
url: https://github.com/czs108/Top-Countries-Mentioned-by-Donald-Trump

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Dependencies

requirements.txt pypi
  • nltk *
  • pandas *
  • pyecharts *
  • spacy *