home / cp40x

names

6 rows where case_id = 2477514

✎ 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
5408521 2477514 2477514 plaintiff Alder Richard vintner 585869 585869 Alder, Richard, of London, vintner 0
5408522 2477514 2477514 defendant Bowode John yeoman 884503 884503 Bowode, John, of W_, Herts, yeoman 0
5408523 2477514 2477514 defendant Hund Andrew innholder 588837 588837 Hund, Andrew, of Newarke, Notts, innholder 1
5408524 2477514 2477514 defendant Clerk John   608196 608196 Clerk, John, of Wynchelse, Sussex, sergeant 2
5408525 2477514 2477514 defendant Waterous John merchant 785843 785843 Waterous, John, of York, Yorks, merchant 3
5408526 2477514 2477514 defendant Bayle Denis currier 658910 658910 Bayle, Denis, of Battle, Sussex, currier 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.949ms