Skip to content

This project was built using SQL and PostgreSQL to analyze gender disparities in global diplomatic missions from 1961 to 2021, with a focus on Italy.

Notifications You must be signed in to change notification settings

lalessia/Gender-Gap-in-diplomacy-analyst

Repository files navigation

Gender Gap in the Diplomatic Environment - Data Analysis

Did you know that despite decades of progress, the gender gap in diplomatic roles remains significant? This project dives into the data to uncover why, focusing on global diplomatic missions with a special spotlight on Italy from 1961 to 2021.

Using SQL on a PostgreSQL database, this analysis seeks to understand the persistent gender disparities in diplomacy and explore potential solutions. Join me in uncovering the data behind the discussions of gender discrimination in the 21st century.

Overview

This project aims to analyze gender representation in diplomacy from 1961 to 2021, focusing on global diplomatic missions and positioning Italy within a worldwide context.

The data analysis was conducted using SQL on a PostgreSQL database.

The motivation behind this project stems from my personal curiosity to understand why, in the 21st century, we still discuss gender discrimination. To address this question, I believe it’s essential to focus on every area where this issue may arise, including diplomacy! What better way to find answers than through data? 😃

This project was developed during my journey with start2impact, specifically during the SQL course, and what you see here is the final project.

Table of Contents

Data Source

The analysis is based on data from the GenDip dataset.

For detailed information on the dataset and its columns, please refer to the codebook.

Repository Structure

The repository contains the following components:

  • Diplomazia_Italiana_al_femminile.pdf: Project presentation
  • GenDip_Dataset_public_mainpostings_anonymous_1968-2021_2023-05-30.xlsx: Original dataset
  • gendip_dataset.csv: Dataset converted to CSV for processing via the DBMS - Postgres
  • gendip_query.sql: SQL queries used for the analysis

Technical Details

For the analysis, PostgreSQL 14.12 and pgAdmin 4 version 7.6 were used.

To convert the XLSX file to CSV and create the template for SQL table creation, the project Create_SQL_script_from_csv_xlsx_dataset was developed.

Installation

To reproduce the queries, follow these steps:

  1. Access pgAdmin.
  2. Create a Database.
  3. Create the tables: Open the file gendip_query.sql and run the queries from line 1 to 125, which are the queries for table creation.
  4. Import the dataset.
  5. Reproduce the analysis queries: Run the queries from line 127 to 834.

License

This project is licensed under the MIT License. Feel free to use, modify, and distribute the code as per the license terms.

Acknowledgements

I would like to express my gratitude to start2impact for providing the learning platform and resources that enabled me to develop this project.

Special thanks to the creators of the GenDip dataset for making this valuable data available for research purposes.

About

This project was built using SQL and PostgreSQL to analyze gender disparities in global diplomatic missions from 1961 to 2021, with a focus on Italy.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published