Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/openlegaldata/oldp-notebooks

Jupyter notebook showcases using the Open Legal Data API
https://github.com/openlegaldata/oldp-notebooks

Last synced: 2 days ago
JSON representation

Jupyter notebook showcases using the Open Legal Data API

Awesome Lists containing this project

README

        

# Jupyter Notebooks for the OLDP Project

This repository contains serveral Jupyter Notebooks that demonstrate how to use data from the [Open Legal Data](https://openlegaldata.io/) project.

Python Examples:

- How to use the OLDP Python client: `client_demo`

- Train a N-gram model based on case text: `ngram_model`

- Use extract and add annotations (litigation values) to cases: `litigtation_value`

- Visualization data from the citation/references dump: `references`

## Dependencies

Get a copy of the repository:
```
$ git clone [email protected]:openlegaldata/oldp-notebooks.git
```

Before getting started you have to install the Python dependencies. The commands assume that you use `pipenv`:
```
$ cd oldp-notebooks
$ pipenv --python 3.7
$ pipenv install
```

Each notebook may have its individual dependencies. Please check the introduction inside the notebooks.

## Google Colab

You can also run the Jupyter notebooks directly on Google Colab:

- [Publication Statistics](https://colab.research.google.com/github/openlegaldata/oldp-notebooks/blob/master/notebooks/publication-stats.ipynb)