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
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
Statistics
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
Top Countries Mentioned by Donald Trump
About The Project

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
Install Python 3.11.
Install all dependencies.
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

- Flow Map

- 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
- Website: https://www.linkedin.com/in/zhenshuo-chen
- Repositories: 4
- Profile: https://github.com/czs108
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
- nltk *
- pandas *
- pyecharts *
- spacy *