home / cp40x

names

7 rows where case_id = 2423007

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5225090 2423007 2423007 plaintiff Roo John (legal representative) 585869 585869 Roo, John, of London, mercer, executrix of 0
5225091 2423007 2423007 plaintiff Roo Margaret     Roo, Margaret 1
5225092 2423007 2423007 defendant Lucas James chapman 861318 861318 Lucas, James, of Bawempton, Devon, chapman 0
5225093 2423007 2423007 defendant Dokham John chapman 797089 797089 Dokham, John, of Chepyng Toryton, Devon, chapman 1
5225094 2423007 2423007 defendant Cunnyng alias Cony Thomas chapman 586286 586286 Cunnyng alias Cony, Thomas, of Boston, chapman 2
5225095 2423007 2423007 defendant Gildern William chapman 585964 585964 Gildern, William, of Louthe, Lincs, chapman 3
5225096 2423007 2423007 defendant Walton William or Preston in Aundernesse, Lancs, chapman   Walton, William, or Preston in Aundernesse, Lancs, chapman 4

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.382ms