home / cp40x

names

7 rows where case_id = 2522108

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5557334 2522108 2522108 plaintiff Morton Robert Bishop of Worcester   Morton, Robert, Bishop of Worcester, administrator of 0
5557335 2522108 2522108 plaintiff Morton Thomas     Morton, Thomas 1
5557336 2522108 2522108 defendant Grene William yeoman 590786 590786 Grene, William, of Rippull, Worcs, yeoman 0
5557337 2522108 2522108 defendant Cassy John esq 899831 899831 Cassy, John, of Compton, Wethyngdon, Glos, esq 1
5557338 2522108 2522108 defendant Knottysford John gent 899832 899832 Knottysford, John, of Upton om Severne, Worcs, gent 2
5557339 2522108 2522108 defendant Pachet Richard mercer 586546 586546 Pachet, Richard, of Stratford on Avon, Warks, mercer 3
5557340 2522108 2522108 defendant Holwey Thomas husbandman 819503 819503 Holwey, Thomas, of Wethyngdon, husbandman 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 13.511ms