home / cp40x

names

8 rows where case_id = 2348671

✎ 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
4972368 2348671 2348671 plaintiff Keterich Richard grocer 585869 585869 Keterich, Richard, of London, grocer 0
4972369 2348671 2348671 defendant Spycer William chapman 829098 829098 Spycer, William, of Loughebarowe, Leics, chapman 0
4972370 2348671 2348671 defendant Chaundeler Richard chapman 586435 586435 Chaundeler, Richard, of Leicester, chapman 1
4972371 2348671 2348671 defendant Leek Richard gent 803838 803838 Leek, Richard, of Fosdyk, Lincs, gent 2
4972372 2348671 2348671 defendant Stonesby John (legal representative) 639664 639664 Stonesby, John, of Biston, chapman, executor of 3
4972373 2348671 2348671 defendant Eston John chapman 586286 586286 Eston, John, of Boston, chapman 4
4972374 2348671 2348671 defendant Straunge William (legal representative) 586318 586318 Straunge, William, of Worcester, chapman, executor of 5
4972375 2348671 2348671 defendant Straunge John parson of Chaddysley, Worcs   Straunge, John, parson of Chaddysley, Worcs 6

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