home / cp40x

names

8 rows where case_id = 1943020

✎ 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
3753455 1943020 1943020 plaintiff Smyth George clerk   Smyth, George, clerk 0
3753456 1943020 1943020 defendant Lee Peter clerk 623621 623621 Lee, Peter, of Lyme, Cheshire, clerk 0
3753457 1943020 1943020 defendant Waren Lawrence esq 623622 623622 Waren, Lawrence, of Poynton, Cheshire, esq 1
3753458 1943020 1943020 defendant Davenport Thomas esq   Davenport, Thomas, esq, executors of 2
3753459 1943020 1943020 defendant Davenport Thomas esq 623623 623623 (Davenport, Thomas, of Henbury, Cheshire, esq 3
3753460 1943020 1943020 defendant Beston John gent 623624 623624 Beston, John, of Beston, Cheshire, gent 4
3753461 1943020 1943020 defendant Downes Roger (legal representative)   Downes, Roger, administrator of 5
3753462 1943020 1943020 defendant Downes Lawrence gent 623625 623625 Downes, Lawrence, of Wourth, Cheshire, gent 6

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