home / cp40x

names

6 rows where case_id = 2500069

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5483672 2500069 2500069 plaintiff Leycroft William     Leycroft, William 0
5483673 2500069 2500069 defendant Verney Edmund esq 828953 828953 Verney, Edmund, of Compton Mordok, esq 0
5483674 2500069 2500069 defendant Warde Thomas, senior esq 627107 627107 Warde, Thomas, senior, of Parva Bromwyche, esq 1
5483675 2500069 2500069 defendant Warde Thomas, junior gent 627107 627107 Warde, Thomas, junior, of Parva Bromwyche, gent 2
5483676 2500069 2500069 defendant Grene Brian butcher 892095 892095 Grene, Brian, of Solyhyull, butcher 3
5483677 2500069 2500069 defendant Sprygge Robert smith 590055 590055 Sprygge, Robert, of Solyhull, smith 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 16.618ms