home / cp40x

names

7 rows where case_id = 1910887

✎ 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
3651690 1910887 1910887 plaintiff Tate John (legal representative) 585869 585869 Tate, John, of London, alderman and mercer, executrix of 0
3651691 1910887 1910887 plaintiff Tate Magdalene widow   Tate, Magdalene, widow 1
3651692 1910887 1910887 defendant Yonge William husbandman 599785 599785 Yonge, William, of Magna Ilford, Essex, husbandman 0
3651693 1910887 1910887 defendant Donyngton Nicholas goldsmith 585869 585869 Donyngton, Nicholas, of London, goldsmith 1
3651694 1910887 1910887 defendant Noundy Stephen wheeler 586594 586594 Noundy, Stephen, of Stratford at Bowe, Middx, wheeler 2
3651695 1910887 1910887 defendant Good William yeoman 599786 599786 Good, William, of Parva Ilford, Essex, yeoman 3
3651696 1910887 1910887 defendant Grenyng Thomas   587979 587979 Grenyng, Thomas, of Shordyche, Middx, minstrel 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 8.268ms