Replies: 1 comment
-
It's, unfortunately, a bit complex. We used to have simple downloads for this, but generating them became too difficult, and we've since stopped. So the way to do this, unfortunately is to either use the bulk data and then filter it down locally (you'll need dockets, clusters, and opinions) or to use the API. If you use the API, I think the following query should be helpful: https://www.courtlistener.com/api/rest/v3/opinions/?cluster__docket__court__id=scotus That gets you all You said you wanted it during a specific date. The date filed is on the cluster, so: A few things:
I learned all this by doing http OPTIONS requests on the endpoints:
For example, that tells us that:
That means that you can use
That means you can use dockets to do more filters. So I did another OPTIONS request on the dockets endpoint:
Which returns (in part):
Finally, I did an options request on the Court endpoint:
That returned, in part:
And finally, I put all of that together:
In English:
Whew, that's a tough one! One key to this is that I already knew the schema, so I know that we wanted opinions linked to clusters, to dockets, to courts. If I didn't know that, I'd have consulted the schema diagrams in the documentation. The date is easier, but it's the same thing. The date is on the cluster, so you have to go from opinions, to clusters, to the date. I hope this helps! |
Beta Was this translation helpful? Give feedback.
-
what's the best way to get scotus opinions from 1994 until today ? I'm interested in opinions and their plain text.
Tried the endpoint on the web and filters seems not working.
Beta Was this translation helpful? Give feedback.
All reactions