home / cp40x

names

6 rows where case_id = 2389563

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5110816 2389563 2389563 plaintiff Hanne Thomas fishmonger   Hanne, Thomas, fishmonger 0
5110817 2389563 2389563 defendant Pore Walter mariner 648540 648540 Pore, Walter, of Magna Wakeryng, Essex, mariner 0
5110818 2389563 2389563 defendant Spycer John yeoman 589720 589720 Spycer, John, of Stanes, Middx, yeoman 1
5110819 2389563 2389563 defendant Colman John yeoman 847594 847594 Colman, John, of Waynysworth, Surrey, yeoman 2
5110820 2389563 2389563 defendant Milot Joh yeoman 590702 590702 Milot, Joh, of Mortlake, Surrey, yeoman 3
5110821 2389563 2389563 defendant Polhampton William yeoman 758228 758228 Polhampton, William, of Merlowe, Bucks, 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 13.457ms