home / cp40x

names

7 rows where case_id = 2027594

✎ 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
4007889 2027594 2027594 plaintiff Mattynson John administrators of   Mattynson, John, administrators of 0
4007890 2027594 2027594 plaintiff Mattynson Robert     (Mattynson, Robert 1
4007891 2027594 2027594 plaintiff Mattynson Richard     Mattynson, Richard 2
4007892 2027594 2027594 defendant Leake Jasper gent 597318 597318 Leake, Jasper, of Edmonton, Middx, gent 0
4007893 2027594 2027594 defendant Lyster Lawrence gent 672968 672968 Lyster, Lawrence, of Medopphall, Yorks, gent 1
4007894 2027594 2027594 defendant Fynes John gent 662092 662092 Fynes, John, of Grays Inn, Middx, gent 2
4007895 2027594 2027594 defendant Whittacres William gent 586932 586932 Whittacres, William, of Royston, Herts, 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 16.192ms