home / cp40x

names

7 rows where case_id = 1994082

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3911234 1994082 1994082 plaintiff Waren Ralph knight, of London, alderman   Waren, Ralph, knight, of London, alderman 0
3911235 1994082 1994082 defendant Williams John gent 607387 607387 Williams, John, of Bexley, Kent, gent 0
3911236 1994082 1994082 defendant Vogan John esq 650285 650285 Vogan, John, of Wyston, Penbroke, esq 1
3911237 1994082 1994082 defendant Foster Humphrey   662980 662980 Foster, Humphrey, of Aldermaston, Berks, knight 2
3911238 1994082 1994082 defendant Pyrton William   650289 650289 Pyrton, William, of Parva Bentley, Essex, knight 3
3911239 1994082 1994082 defendant Maunsell Thomas clerk 647171 647171 Maunsell, Thomas, of Barton, Yorks, clerk 4
3911240 1994082 1994082 defendant Wyndesore Anthony   585869 585869 Wyndesore, Anthony, of London, knight 5

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