home / cp40x

names

6 rows where case_id = 2306460

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4833420 2306460 2306460 plaintiff Clement Robert   785823 785823 Clement, Robert, of Intewode, parson 0
4833421 2306460 2306460 defendant Sylveron Roger (legal representative)   Sylveron, Roger, executor of 0
4833422 2306460 2306460 defendant Niche William, sen merchant 585936 585936 Niche, William, sen, of Norwich, merchant 1
4833423 2306460 2306460 defendant Noon Thomas (legal representative) 847904 847904 Noon, Thomas, of Bonewelle, executor of 2
4833424 2306460 2306460 defendant Greyve Simon chaplain 809731 809731 Greyve, Simon, of Bonewelle, Norf, chaplain 3
4833425 2306460 2306460 defendant Martyn Walter clerk 809732 809732 Martyn, Walter, of Tetyshale by Dykilburgh, Norf, clerk 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 13.337ms