Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle citation strings #62

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
6 changes: 4 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Courts-DB is an open source repository to organize a db of all courts current an
It was built for use in Courtlistener.com.

Its main goal is to interface with CL to identify historical and current courts
by string. It incldues mechanisms to filter results based on dates and/or whether it is a bankruptcy court.
by string. It includes mechanisms to filter results based on dates and/or whether it is a bankruptcy court.

Further development is intended and all contributors, corrections and additions are welcome.

Expand All @@ -16,6 +16,8 @@ Free Law Project built this database using the metadata (case names, dates etc.)
of over 16 millions data points. This data represents hundreds of hours of
research and testing. We believe to be the most extensive open dataset of its kind.

The SALI Alliance has `incorporated <https://www.sali.org/page-18076>`_ the `id` fields used in Courts-DB into its Legal Matter Specification Standard.

Quickstart
===========

Expand Down Expand Up @@ -111,7 +113,7 @@ Fields
1. :code:`id` ==> string; Courtlistener Court Identifier
2. :code:`court_url` ==> string; url for court website
3. :code:`regex` ==> array; regexes patterns to find courts
4. :code:`examples` ==> array; regexes patterns to find courts
4. :code:`examples` ==> array; examples on which at least one regex should match
5. :code:`name` ==> string; full name of the court
6. :code:`name_abbreviation` ==> string; court name abbreviations
7. :code:`dates` ==> Array; Contains start date, end date and notes on date range
Expand Down
2 changes: 1 addition & 1 deletion courts_db/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def find_court_ids_by_name(
:param bankruptcy: Are we searhing for a bankruptcy court
:return: List of Court IDs matched
"""
from . import regexes
from . import courts, regexes

assert isinstance(
court_str, str
Expand Down
Loading