home / cp40x

names

6 rows where case_id = 2355446

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4995321 2355446 2355446 plaintiff Gedney John alderman & draper 585869 585869 Gedney, John, of London, alderman & draper 0
4995322 2355446 2355446 defendant Lavender John tailor 600352 600352 Lavender, John, of Croweland, Lincs, tailor 0
4995323 2355446 2355446 defendant Reyny Thomas venter or vintner 826714 826714 Reyny, Thomas, of Bagshote, Surrey, venter or vintner 1
4995324 2355446 2355446 defendant Russell Thomas   585925 585925 Russell, Thomas, of Bristol, burgess 2
4995325 2355446 2355446 defendant Gallan John (legal representative) 832332 832332 Gallan, John, of Dunelyn or Dublin, draper, administrator of 3
4995326 2355446 2355446 defendant Gallan Robert merchant 832333 832333 Gallan, Robert, of Dunelyn, Ireland, merchant 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.763ms