home / cp40x

names

6 rows where case_id = 2166846

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4406817 2166846 2166846 plaintiff Shooter John (legal representative)   Shooter, John, executors of 0
4406818 2166846 2166846 plaintiff Morley Thomas     (Morley, Thomas 1
4406819 2166846 2166846 plaintiff Hodges Thomas     Hodges, Thomas 2
4406820 2166846 2166846 defendant Tanner Henry (legal representative)   Tanner, Henry, executors of 0
4406821 2166846 2166846 defendant Whittington Richard gent 611946 611946 (Whittington, Richard, of Home Lacy, gent 1
4406822 2166846 2166846 defendant Savacre Thomas clerk 611834 611834 Savacre, Thomas, of Goodriche, clerk 2

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 16.526ms