home / cp40x

names

6 rows where case_id = 1988341

✎ 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
3894389 1988341 1988341 plaintiff Rogers John     Rogers, John 0
3894390 1988341 1988341 defendant Stamysby John yeoman 647094 647094 Stamysby, John, of Belston, Norf, yeoman 0
3894391 1988341 1988341 defendant Ball Thomas yeoman 647095 647095 Ball, Thomas, of Clelsfeld, Kent, yeoman 1
3894392 1988341 1988341 defendant Petlay Thomas gent 647096 647096 Petlay, Thomas, of Sherham, Kent, gent 2
3894393 1988341 1988341 defendant Petlay Stephen gent 647097 647097 Petlay, Stephen, of Hawsted, Kent, gent 3
3894394 1988341 1988341 defendant Sebell Nicholas gent 608233 608233 Sebell, Nicholas, of Fernyngham, Kent, gent 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 11.423ms