home / cp40x

names

7 rows where case_id = 2430302

✎ 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
5250614 2430302 2430302 plaintiff Whyte John     Whyte, John 0
5250615 2430302 2430302 defendant Romayn William gent 613561 613561 Romayn, William, of Shirborne, gent 0
5250616 2430302 2430302 defendant Skyppe Robert husbandman 847775 847775 Skyppe, Robert, of Est Pulham, husbandman 1
5250617 2430302 2430302 defendant Byryman Edward husbandman 847775 847775 Byryman, Edward, of Est Pulham, husbandman 2
5250618 2430302 2430302 defendant Vowell John mercer 613561 613561 Vowell, John, of Shirborne, mercer 3
5250619 2430302 2430302 defendant Fyssher William (legal representative) 586259 586259 Fyssher, William, of Pole, butcher, executrix of 4
5250620 2430302 2430302 defendant Fyssher Christine widow   Fyssher, Christine, widow 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.459ms