home / cp40x

names

6 rows where case_id = 2057978

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4093456 2057978 2057978 plaintiff Exelbye Miles (legal representative)   Exelbye, Miles, executrix of 0
4093457 2057978 2057978 plaintiff Exelbye Alice widow   Exelbye, Alice, widow 1
4093458 2057978 2057978 defendant Marvyn James   690622 690622 Marvyn, James, of Fonthill, Wilts, knight 0
4093459 2057978 2057978 defendant Tedder Robert gent 586033 586033 Tedder, Robert, of Westminster, gent 1
4093460 2057978 2057978 defendant Whyte Thomas gent 692154 692154 Whyte, Thomas, of Southericke, Hants, gent 2
4093461 2057978 2057978 defendant Mayney Anthony gent 594129 594129 Mayney, Anthony, of Lynton, Kent, gent 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 14.862ms