home / cp40x

names

7 rows where case_id = 1994083

✎ 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
3911241 1994083 1994083 plaintiff Waren Ralph knight, of London, alderman   Waren, Ralph, knight, of London, alderman 0
3911242 1994083 1994083 defendant Wyllyamson John gent 607387 607387 Wyllyamson, John, of Bexley, Kent, gent 0
3911243 1994083 1994083 defendant Vigan John esq 650288 650288 Vigan, John, of Wyston, Pembrok, esq 1
3911244 1994083 1994083 defendant Foster Humphrey   662980 662980 Foster, Humphrey, of Aldermaston, Berks, knight 2
3911245 1994083 1994083 defendant Pyrton William   650289 650289 Pyrton, William, of Parva Bentley, Essex 3
3911246 1994083 1994083 defendant Maunsell Thomas clerk 647171 647171 Maunsell, Thomas, of Barton, Yorks, clerk 4
3911247 1994083 1994083 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 13.043ms