Skip to content

A source for data about law schools accredited by the American Bar Association (ABA). Contains a comprehensive list of schools in machine-readable formats.

License

Notifications You must be signed in to change notification settings

data-creative/law-schools-py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Law Schools (Python)

A source for data about law schools accredited by the American Bar Association (ABA). Contains a comprehensive list of schools in machine-readable formats.

Usage

Reference data/schools.csv and/or data/schools.json.

Contributing

Prerequisites

Install Python and Pip 3.x:

brew install python3

Install a web driver to facilitate automated browsing:

brew install geckodriver
# then append to your bash config file (e.g., `~/.bashrc`)
export PATH=$PATH:/path/to/geckodriver # enable use of selenium for python

Ensure your user has access to a directory called /usr/local/selenium:

mkdir /usr/local/selenium # you might have to sudo this. if so, afterwards `chown your_username /usr/local/selenium`

Installation

Install source code:

git clone git@github.com:data-creative/law-schools-py.git
cd law-schools-py/

Install package dependencies:

pip3 install -r requirements.txt

Execution

Update the list of schools:

python3 app/list_schools.py

This will update the contents of mocks/schools_tbody.html and data/schools.csv and data/schools.json for further reference. If the contents change, please commit and push and release a new version.

Download employment summary reports for each school:

python3 app/download_reports.py

This will update the contents of reports/ and data/reports.csv and data/reports.json for further reference. If the contents change, please commit and push and release a new version.

Testing

Run tests:

python3 -m pytest

About

A source for data about law schools accredited by the American Bar Association (ABA). Contains a comprehensive list of schools in machine-readable formats.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published