home / cp40x

names

6 rows where case_id = 2340431

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4945032 2340431 2340431 plaintiff Heyham John   816090 816090 Heyham, John, of Gayesle 0
4945033 2340431 2340431 defendant Deye alias Eclys Simon yeoman 825656 825656 Deye alias Eclys, Simon, of Magna Ellysdon, yeoman 0
4945034 2340431 2340431 defendant Motforde Thomas yeoman 614065 614065 Motforde, Thomas, of Ekynton, yeoman 1
4945035 2340431 2340431 defendant Frost John yeoman 825657 825657 Frost, John, of Dodenowe, Elmedene, yeoman 2
4945036 2340431 2340431 defendant Hunte John yeoman 825658 825658 Hunte, John, of Wetelysford, yeoman 3
4945037 2340431 2340431 defendant Warde John yeoman 825659 825659 Warde, John, of Parva Abydon, yeoman 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.152ms