home / cp40x

names

7 rows where case_id = 1957306

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3798106 1957306 1957306 plaintiff Hamond Robert     Hamond, Robert 0
3798107 1957306 1957306 defendant Wheteley John carpenter 585929 585929 Wheteley, John, of St Clement Danes, carpenter 0
3798108 1957306 1957306 defendant Raynold Richard   585929 585929 Raynold, Richard, of St Clement Danes, pouch maker 1
3798109 1957306 1957306 defendant Urpyn Walter butcher 631030 631030 Urpyn, Walter, of St Sepulchre, butcher 2
3798110 1957306 1957306 defendant Lyney William wheeler 623017 623017 Lyney, William, of Iseldon, Middx, wheeler 3
3798111 1957306 1957306 defendant Tayllour John grocer 588005 588005 Tayllour, John, of St John Strete, Middx, grocer 4
3798112 1957306 1957306 defendant Crypsey John innholder 587486 587486 Crypsey, John, of Hakeney, innholder 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 16.65ms