home / cp40x

names

7 rows where case_id = 2523428

✎ 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
5561769 2523428 2523428 plaintiff Walle John   599961 599961 Walle, John, of Aldeby 0
5561770 2523428 2523428 defendant Dexter John carpenter 599961 599961 Dexter, John, of Aldeby, carpenter 0
5561771 2523428 2523428 defendant Joure Edmund husbandman 599961 599961 Joure, Edmund, of Aldeby, husbandman 1
5561772 2523428 2523428 defendant Strong Robert husbandman 900314 900314 Strong, Robert, of Haddestowe, husbandman 2
5561773 2523428 2523428 defendant Dynne John yeoman 648736 648736 Dynne, John, of Wheteacre, yeoman 3
5561774 2523428 2523428 defendant Corderey John husbandman 596533 596533 Corderey, John, of Gyllyngham, husbandman 4
5561775 2523428 2523428 defendant Smyth John husbandman 600139 600139 Smyth, John, of Toft Monks, 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 15.833ms