home / cp40x

names

7 rows where case_id = 2500944

✎ 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
5486767 2500944 2500944 plaintiff Smyth Stephen (legal representative) 585869 585869 Smyth, Stephen, of London, haberdasher, executors of 0
5486768 2500944 2500944 plaintiff Warner Oliver     (Warner, Oliver 1
5486769 2500944 2500944 defendant Morse John husbandman 892400 892400 Morse, John, of Kelyngdon, husbandman 0
5486770 2500944 2500944 defendant Lyncolne John smith 590859 590859 Lyncolne, John, of Navestoke, smith 1
5486771 2500944 2500944 defendant Hatter Robert husbandman 586549 586549 Hatter, Robert, of Hoton, husbandman 2
5486772 2500944 2500944 defendant Bemysshe John mercer 764479 764479 Bemysshe, John, of Chepyng Dunmowe, mercer 3
5486773 2500944 2500944 defendant Clerke John smith 754132 754132 Clerke, John, of Brendewode, 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 14.125ms