home / cp40x

names

6 rows where case_id = 2298549

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4807528 2298549 2298549 plaintiff Colbroke Robert ironmonger 585869 585869 Colbroke, Robert, of London, ironmonger, on his own account 0
4807529 2298549 2298549 defendant Banham Roger smith 604865 604865 Banham, Roger, of Canterbury, Kent, smith 0
4807530 2298549 2298549 defendant Dyer Richard   805169 805169 Dyer, Richard, of Braknale, Berks, smity 1
4807531 2298549 2298549 defendant Stephen John smith 590788 590788 Stephen, John, of Halstowe, kent, smith 2
4807532 2298549 2298549 defendant dufhous John smith 604865 604865 dufhous, John, of Canterbury, Kent, smith 3
4807533 2298549 2298549 defendant smyth John smith 805170 805170 smyth, John, of Ryslep, Bucks, smith 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 11.161ms