home / cp40x

names

6 rows where case_id = 2473717

✎ 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
5395254 2473717 2473717 plaintiff Alder Richard vintner 585869 585869 Alder, Richard, of London, vintner 0
5395255 2473717 2473717 defendant Bowede John yeoman 586528 586528 Bowede, John, of Ware, Herts,yeoman 0
5395256 2473717 2473717 defendant Hund Andrew   596157 596157 Hund, Andrew, of Newerke, Notts, inn holder 1
5395257 2473717 2473717 defendant Clerk John   608196 608196 Clerk, John, of wynchelse, Sussex, sergeant 2
5395258 2473717 2473717 defendant Waterous John merchant 586067 586067 Waterous, John, of York, merchant 3
5395259 2473717 2473717 defendant Bayle Denise   658910 658910 Bayle, Denise, of Battle, Sussex, coryour 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.636ms