home / cp40x

names

7 rows where case_id = 2348702

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4972480 2348702 2348702 plaintiff Knotte John     Knotte, John 0
4972481 2348702 2348702 defendant Berewyk Thomas yeoman 632569 632569 Berewyk, Thomas, of West Hanyngfeld, Essex, yeoman 0
4972482 2348702 2348702 defendant Southefeld William yeoman 829110 829110 Southefeld, William, of Eveton, Norf, yeoman 1
4972483 2348702 2348702 defendant Martyn Reginald yeoman 586570 586570 Martyn, Reginald, of Weveton, yeoman 2
4972484 2348702 2348702 defendant Bernard John yeoman 678516 678516 Bernard, John, of Hethfeld, Sussex, yeoman 3
4972485 2348702 2348702 defendant Holwell John yeoman 763922 763922 Holwell, John, of Dounham, Essex, yeoman 4
4972486 2348702 2348702 defendant Martyn John yeoman 829111 829111 Martyn, John, of Sweveton, yeoman 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 14.576ms