home / cp40x

names

8 rows where case_id = 2317398

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4869401 2317398 2317398 plaintiff Lamplogh John knight   Lamplogh, John, knight 0
4869402 2317398 2317398 defendant Stub William yeoman 815138 815138 Stub, William, of Bokkebank, yeoman 0
4869403 2317398 2317398 defendant Stub John yeoman 654046 654046 Stub, John, of Dalston, yeoman 1
4869404 2317398 2317398 defendant Raynaldson John yeoman 599205 599205 Raynaldson, John, of Talentyre, yeoman 2
4869405 2317398 2317398 defendant Bowys John yeoman 779219 779219 Bowys, John, of Dovanby, yeoman 3
4869406 2317398 2317398 defendant Jonson Thomas yeoman 781144 781144 Jonson, Thomas, of Corkeby, yeoman 4
4869407 2317398 2317398 defendant Railton John yeoman 761568 761568 Railton, John, of Scaleby, yeoman 5
4869408 2317398 2317398 defendant Wilson John yeoman 791309 791309 Wilson, John, of Bowetby, yeoman 6

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.494ms