Skip to content

Analysis of Gender Disparity Among Authors of CERN Courier Articles

License

Notifications You must be signed in to change notification settings

Guigs02/disparity-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

disparity-analysis - Sex Analysis of Article Authors on CERN Courier

This Python project scrapes article data from the CERN Courier website, analyses the sex of the authors by their name, and generates a bar plot with the sex distribution.

Table of Contents

Installation

  1. Clone the repository:
git clone https://github.com/cerncourier/disparity-analysis.git
cd disparity-analysis
  1. Install the required packages:
pip install -r requirements.txt

Usage

Run the script:

python3 thread_main.py

This will:

  • Scrape article links from the CERN Courier website.
  • Fetch the title, date, and author of each article.
  • Determine the sex of the authors using the gender-guesser library.
  • Generate a CSV file with the processed data.
  • Create and save a bar chart showing the sex distribution.

Licence

Distributed under the MIT Licence.

About

Analysis of Gender Disparity Among Authors of CERN Courier Articles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages