home / cp40x

names

6 rows where case_id = 2435718

✎ 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
5267878 2435718 2435718 plaintiff Alborought William mercer 585869 585869 Alborought, William, of London, mercer 0
5267879 2435718 2435718 defendant Sharp John chapman 595686 595686 Sharp, John, of Neuport Paynell, Bucks, chapman 0
5267880 2435718 2435718 defendant Smyth John chapman 866219 866219 Smyth, John, of Bryghtholmyston or Brighton, Sussex, chapman 1
5267881 2435718 2435718 defendant Kymber Richard chapman 590727 590727 Kymber, Richard, of Chepyng Wycombe, Bucks, chapman 2
5267882 2435718 2435718 defendant Edwyn William chapman 658186 658186 Edwyn, William, of Stortford, Essex, chapman 3
5267883 2435718 2435718 defendant Gyfforth William mercer 590478 590478 Gyfforth, William, of Sandwich, Kent, mercer 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 18.208ms