Closed hancush closed 2 years ago
Let's tackle this in steps.
First, write a Makefile that takes the scraped JSON files and creates three flat CSV files:
court_case
tabledefendant
tabledocket_event
tableExact files subject to change based on feedback from @fatima3558 and @fgregg. Namely, how does probate court work, and does it map onto the criminal division definitions of cases, defendants, and docket events? Are there charges or sentences? Who is the "participant" listed on case activities? Are there other tables we should populate?
So, i think a three or four table structure to start with
Ok, @fatima3558, so we'll go with three tables:
estate_case
with info about estates and casesestate_docket_event
for info about actions for each caseparties
, for people (not judges) associated with each caseCan you take the first shot at grouping the scraped information into these files?
The scrape will yield nested JSON objects. We will ultimately want to take these objects and break them apart into the various tables in the database. Write a Makefile to perform these transformations.