home / cp40x

names

7 rows where case_id = 2003667

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3939968 2003667 2003667 plaintiff Skarlett William     Skarlett, William 0
3939969 2003667 2003667 defendant Chilton William   631033 631033 Chilton, William, of Est Dereham, cord wainer 0
3939970 2003667 2003667 defendant Bircham Thomas   631033 631033 Bircham, Thomas, of Est Dereham, cord wainer 1
3939971 2003667 2003667 defendant Thompson John (legal representative) 656373 656373 Thompson, John, of Mattyshalle, Norf, beer brewer, executors of 2
3939972 2003667 2003667 defendant Drake Francis mercer 631033 631033 (Drake, Francis, of Est Dereham, mercer 3
3939973 2003667 2003667 defendant Drake Ursula     Ursula, his wife 4
3939974 2003667 2003667 defendant Goodwyn Thomas yeoman 586157 586157 Goodwyn, Thomas, of Mateshale, yeoman 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 17.655ms