home / cp40x

names

6 rows where case_id = 2312056

✎ 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
4851989 2312056 2312056 plaintiff Walpole John   585869 585869 Walpole, John, of London, brass worker 0
4851990 2312056 2312056 defendant Atworth Humphrey gent 587398 587398 Atworth, Humphrey, of Luton, Beds, gent 0
4851991 2312056 2312056 defendant Hayward Thomas husbandman 812774 812774 Hayward, Thomas, of Hevering atte Boure, Essex, husbandman 1
4851992 2312056 2312056 defendant Stokes Thomas gent 646545 646545 Stokes, Thomas, of Hertwell, Bucks, gent 2
4851993 2312056 2312056 defendant Spede John   654978 654978 Spede, John, of Leicester, Leics, brass worker 3
4851994 2312056 2312056 defendant Lyncoln John clerk 786013 786013 Lyncoln, John, of Biggleswade, Beds, clerk 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 13.942ms