home / cp40x

names

6 rows where case_id = 2383189

✎ 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
5089096 2383189 2383189 plaintiff Legh Ralph esq   Legh, Ralph, esq 0
5089097 2383189 2383189 defendant Medford John gent 634929 634929 Medford, John, of Walworth, gent 0
5089098 2383189 2383189 defendant Bakewell Richard gent 845057 845057 Bakewell, Richard, of Haselbagge, Derbs, gent 1
5089099 2383189 2383189 defendant Foler Roger shipman 845058 845058 Foler, Roger, of Croumer, Norf, shipman 2
5089100 2383189 2383189 defendant Orde Alexander butcher 585869 585869 Orde, Alexander, of London, butcher 3
5089101 2383189 2383189 defendant Fenkyll John butcher 585869 585869 Fenkyll, John, of London, butcher 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 15.567ms