home / cp40x

names

8 rows where case_id = 2428750

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5245183 2428750 2428750 plaintiff Purchas Joan widow   Purchas, Joan, widow 0
5245184 2428750 2428750 defendant Potter John mercer 637708 637708 Potter, John, of Cowfeld, Sussex, mercer 0
5245185 2428750 2428750 defendant Sergeant William mercer 587936 587936 Sergeant, William, of Feversham, Kent, mercer 1
5245186 2428750 2428750 defendant Basse Richard chapman 863617 863617 Basse, Richard, of Notle, Sussex, chapman 2
5245187 2428750 2428750 defendant Maunsell Theobalda widow 586487 586487 Maunsell, Theobalda, of Suthwerk, widow 3
5245188 2428750 2428750 defendant Waller Richard administrators of   Waller, Richard, administrators of 4
5245189 2428750 2428750 defendant Waller Richard gent 863618 863618 (Waller, Richard, of Spelhurst, Kent, gent 5
5245190 2428750 2428750 defendant Waller John gent 634258 634258 Waller, John, of Spelhurst, gent 6

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