home / cp40x

names

7 rows where case_id = 2422249

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5222360 2422249 2422249 plaintiff Matheu Thomas (legal representative)   Matheu, Thomas, executors of 0
5222361 2422249 2422249 plaintiff Snape John     (Snape, John 1
5222362 2422249 2422249 plaintiff Tauton or Tanton Thomas clerk   Tauton or Tanton, Thomas, clerk 2
5222363 2422249 2422249 defendant Trouns John merchant 586834 586834 Trouns, John, of Plymmouth, merchant 0
5222364 2422249 2422249 defendant Greder Stephen butcher 587577 587577 Greder, Stephen, of Wolston, butcher 1
5222365 2422249 2422249 defendant Gaylard John chaplain 586489 586489 Gaylard, John, of Holbeton, chaplain 2
5222366 2422249 2422249 defendant Danyell Henry tailor 618296 618296 Danyell, Henry, of Aveton Gyfford, tailor 3

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE names (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    case_id INTEGER NOT NULL REFERENCES cases(id) ON DELETE CASCADE,
    role TEXT NOT NULL CHECK (role IN ('plaintiff', 'defendant')),
    surname TEXT NOT NULL,
    forename TEXT,
    occupation TEXT,
    place_id INTEGER REFERENCES places(id),
    raw_segment TEXT NOT NULL,
    seq INTEGER NOT NULL DEFAULT 0
);
CREATE INDEX idx_names_case_id ON names(case_id);
CREATE INDEX idx_names_surname ON names(surname);
CREATE INDEX idx_names_place_id ON names(place_id);
CREATE INDEX idx_names_role_surname ON names(role, surname);
Powered by Datasette · Queries took 15.951ms