Skip to content

Filtering Courts by State and level #3303

Answered by flooie
krward2 asked this question in Q&A
Discussion options

You must be logged in to vote

@krward2 Hi Kenneth

Courtlistener does not have municipal Texas court data in it. If it did and its as organized to link all of the Justice of the Peace courts and municipal courts to a centralized Parent Court - see model below you could make this query

Court.objects.get(id="txjustpeacect").child_courts.all()
Court.objects.get(id="texmunict").child_courts.all()

Assuming those were the IDs for those courts. But since the data isnt in our system you cant do it.

There would be a similar filtering mechanism in the API, but we have not yet introduced it into the court filter because we only recently added model changes to the db.

    parent_court = models.ForeignKey(
        "self",
        h…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by krward2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants