Skip to content

Script that downloads Yale CELI list of companies that curtail / keep their operations in Russia as JSON

License

Notifications You must be signed in to change notification settings

eichkat3r/yale-CELI-list-russia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yalelist

Script that fetches data from the Yale List of over 1000 companies that have curtailed or still continue operations in Russia, parses the HTML and converts it to machine-friendly JSON.

The JSON will have the following format:

{
    "CATEGORY_1": {
        "description": "...",
        "grade": "[A-F]",
        "records": [
            {
                "name": "NAME_A",
                "action": "ACTION_A",
                "industry": "INDUSTRY_A",
                "country": "COUNTRY_A"
            },
            ...
        ]
    },
    ...
}

Please note that some fields in the records might be empty.

Usage

First, run

virtualenv env
source env/bin/activate
pip install -r requirements.txt

to create a virtual environment with all requirements you'll need. This step is optional if you have all requirements installed or if you prefer something other than virtualenv.

Then, run

python3 yalelist.py --output yalelist.json

to generate the full list as json.

About

Script that downloads Yale CELI list of companies that curtail / keep their operations in Russia as JSON

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages