home / cp40x

names

7 rows where case_id = 2551992

✎ 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
5625734 2551992 2551992 plaintiff Marowe William smith 585869 585869 Marowe, William, of London, smith 0
5625735 2551992 2551992 defendant Dagenet John gent 608829 608829 Dagenet, John, of Essex, gent 0
5625736 2551992 2551992 defendant Norton John carpenter 669048 669048 Norton, John, of Lancashire, carpenter 1
5625737 2551992 2551992 defendant Fordham John esq 717493 717493 Fordham, John, of Cambs, esq 2
5625738 2551992 2551992 defendant Bayly John yeoman 619282 619282 Bayly, John, of Stowe, Cams, yeoman 3
5625739 2551992 2551992 defendant Smyth Simon smith 591915 591915 Smyth, Simon, of Stratton, Beds, smith 4
5625740 2551992 2551992 defendant Barnaby John, senior esq 689060 689060 Barnaby, John, senior, of Lincolnshire, esq 5

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 6.139ms