home / cp40x

names

7 rows where case_id = 2423671

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5227504 2423671 2423671 plaintiff Thwaytes John     Thwaytes, John 0
5227505 2423671 2423671 defendant Maners Alexander gent 861592 861592 Maners, Alexander, of Haudendyke, gent 0
5227506 2423671 2423671 defendant Nesse Thomas yeoman 861593 861593 Nesse, Thomas, of Nessehouse, yeoman 1
5227507 2423671 2423671 defendant Olyver William miller 861594 861594 Olyver, William, of Magna Hek juxta Snayth, miller 2
5227508 2423671 2423671 defendant Sternedale John husbandman 861595 861595 Sternedale, John, of Langrayk, husbandman 3
5227509 2423671 2423671 defendant Hubbard John yeoman 694043 694043 Hubbard, John, of Lanehouse, yeoman 4
5227510 2423671 2423671 defendant Dycunson John husbandman 694043 694043 Dycunson, John, of Lanehouse, husbandman 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.652ms