home / cp40x

names

6 rows where case_id = 2342508

✎ 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
4951775 2342508 2342508 plaintiff Ray John (legal representative) 585869 585869 Ray, John, of London, skinner, executor of 0
4951776 2342508 2342508 plaintiff Osgot Robert     Osgot, Robert 1
4951777 2342508 2342508 defendant Snede John yeoman 586958 586958 Snede, John, of Gloucester, yeoman 0
4951778 2342508 2342508 defendant Chosell Thomas gent 600449 600449 Chosell, Thomas, of Boston, Lincs, gent 1
4951779 2342508 2342508 defendant Broughton John esq 639447 639447 Broughton, John, of Broughton Furneys, Lancs, esq 2
4951780 2342508 2342508 defendant Drury Nicholas esq 826537 826537 Drury, Nicholas, of Shelond, Suff, esq 3

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.163ms