harvard-lil / capstone

CAP database scripts.
MIT License
186 stars 43 forks source link

Federal legal case download #2187

Open Tizzzzy opened 8 months ago

Tizzzzy commented 8 months ago

Hi, Is it possible to download all the federal legal cases at once? If it can, how? If it can't, should I download the federal legal case one by one by calling API? In this case, how should I call the API?

c4lliope commented 8 months ago

More background and links added on #2188.

Tizzzzy commented 8 months ago

More background and links added on #2188.

Hi, after checking on the link, I am still confused about whether I can download all the federal legal cases at once or I should call API to retrieve federal legal case one by one?

c4lliope commented 8 months ago

There are four 'open' jurisdictions that enable bulk download. The remaining ones can be queried using the api. Maybe this shall change soon based on the dataverse migration.

On January 16, 2024 3:10:03 PM EST, Tizzzzzzy @.***> wrote:

More background and links added on #2188.

Hi, after checking on the link, I am still confused about whether I can download all the federal legal cases at once or I should call API to retrieve federal legal case one by one?

-- Reply to this email directly or view it on GitHub: https://github.com/harvard-lil/capstone/issues/2187#issuecomment-1894438401 You are receiving this because you commented.

Message ID: @.***>

Tizzzzy commented 8 months ago

There are four 'open' jurisdictions that enable bulk download. The remaining ones can be queried using the api. Maybe this shall change soon based on the dataverse migration. On January 16, 2024 3:10:03 PM EST, Tizzzzzzy @.> wrote: > More background and links added on #2188. Hi, after checking on the link, I am still confused about whether I can download all the federal legal cases at once or I should call API to retrieve federal legal case one by one? -- Reply to this email directly or view it on GitHub: #2187 (comment) You are receiving this because you commented. Message ID: @.>

Hi, Thank you for your replying, are all legal cases in four 'open' jurisdictions federal? Also, if I want to use api to retrieve the rest of the federal cases, what should the api call looks like?

c4lliope commented 7 months ago

Yes, CAP only publishes federal cases.

A recommended basis for using the API is to begin here: https://case.law/docs/learning_tracks/APIs

You read and run examples based on: https://case.law/docs/site_features/api

In case you see errors using the API, opening a specific issue can help CAP managers respond more easily.