home / cp40x

names

7 rows where case_id = 2092637

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4191652 2092637 2092637 plaintiff Barber Edmund     Barber, Edmund 0
4191653 2092637 2092637 defendant Olyfer Peter skinner 585869 585869 Olyfer, Peter, of London, or of Eton juxta Windesor, Bucks, skinner 0
4191654 2092637 2092637 defendant Dormer Michael gent 712016 712016 Dormer, Michael, of Hanton Poyle, Oxon, gent 1
4191655 2092637 2092637 defendant Cotten Edmund gent 585869 585869 Cotten, Edmund, of London, gent 2
4191656 2092637 2092637 defendant Cotten Robert gent 585869 585869 Cotten, Robert, of London, gent 3
4191657 2092637 2092637 defendant Yorke Edmund gent 623809 623809 Yorke, Edmund, of Stratford Bowe, Middx, gent 4
4191658 2092637 2092637 defendant Yonge William gent 712017 712017 Yonge, William, of Kaynton, Salop, gent 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 14.193ms