Skip to content

An insightful visualization of data on lost and stolen weapons in Ukraine (Streamlit)

License

Notifications You must be signed in to change notification settings

cyterat/mia-ua-weapons

Repository files navigation

Python - 3.10.13 Import Data Model data

⚔️Lost and Stolen Weapons in Ukraine (1991-2023)

https://ua-weapons.streamlit.app/

      I began working on this project at the end of 2021, when I stumbled upon MIA (Ministry of Internal Affairs) of Ukraine data, believing that it may potentially uncover how weapons theft and loss fit into the "terraforming" processes of the country as a political entity.

     Some peculiar changes occur throughout the history of Ukraine, which may or may not correlate with particular events, some of which I included as the barchart annotations near the top of the webpage. Therefore, I would recommend viewing these annotations as time markers rather than events tied to the numbers.

     It is worth noting that this project is by no means a statistical analysis but rather a visual representation of the dataset, which some of you might find interesting, just as I did.

Visualization Example

💾Data

  • The original dataset can be accessed at data.gov.ua

  • The jupyter notebook which was used during IDE and then transformed into a separate pipeline script can be found in my notebooks repository

🚧 Version 1.1.0 (Latest)

The majority of changes were made to the data import and modeling workflows in the GitHub Actions.

  • wget has been added which enables to download the JSON file via HTTPS using custom headers;
  • JSON file is now stored as an artifact and used only within a workflow;
  • Model Data workflow will now run only when the Import Data finishes, or when triggered manually;
  • Data Flow/Models Relationship diagram has been updated.

🛠 Libraries

Pandas, NumPy, Matplotlib, Plotly, Streamlit