home / cp40x

names

6 rows where case_id = 2452990

✎ 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
5326426 2452990 2452990 plaintiff Stodard John tailor 585869 585869 Stodard, John, of London, tailor 0
5326427 2452990 2452990 defendant Lunsford William gent 640818 640818 Lunsford, William, of Laughton, Sussex, gent 0
5326428 2452990 2452990 defendant Westburn John gent 873710 873710 Westburn, John, of Battyll, gent 1
5326429 2452990 2452990 defendant Beauchamp Richard   613304 613304 Beauchamp, Richard, of Bodyngton, Glos, knight 2
5326430 2452990 2452990 defendant Wake Thomas gent 603475 603475 Wake, Thomas, of Blysworth, Nhants, gent 3
5326431 2452990 2452990 defendant Nouth John gent 689434 689434 Nouth, John, of Belstede, Suff, gent 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 16.494ms