Happy Halloween!
This Halloween is a special one at LIL, since we’re celebrating the release of the Caselaw Access Project and 360 years of digitized U.S. caselaw.
For a small project using our full text search functionality, we mapped out the usage of the term “witchcraft” in United States caselaw.
Here is the result: https://case.law/gallery/witchcraft
(For those unfamiliar with the sordid history of witchcraft in the United States, the Wikipedia entry for Salem Witch Trials is a good primer.)
Below are some steps used to get this data.
Since our metadata is available to anyone without limitations or a login, you can see the result of our search here.
As you can see, there are 503 cases in total that include the word “witchcraft”.
In order to get the context of the word (in our visualization, we display small excerpts), we need to create an account.
First, sign up for an API key.
Once you’ve created an account and logged in, you should head over to our API documentation for a primer on authentication.
Now, you can download the cases using one of several means (but be careful! Each time you download the cases, whether in the browser, or elsewhere, your daily case limit of 500 gets decremented).
You can download cases:
- in your browser by going to this link: read cases in the browser
- download the files locally using the terminal (see an example of a curl request here)
- you can get the cases using your favorite programming language, or
- you can check out our cap-examples repository and set up an examples environment. Once it’s set up, you can run the code used to make this visualization.
Do you have any questions, concerns, ideas? We would love to hear from you! Please write to the Caselaw Access Project team at info@case.law.