home / cp40x

names

7 rows where case_id = 2235993

✎ 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
4615966 2235993 2235993 plaintiff Foche Richard sergeant's man   Foche, Richard, sergeant's man 0
4615967 2235993 2235993 plaintiff Fourbour John living in the Newe rent by the Savoy   (Fourbour, John, living in the Newe rent by the Savoy 1
4615968 2235993 2235993 plaintiff Gardyner John     Gardyner, John 2
4615969 2235993 2235993 plaintiff Gardyner Alice     Alice, his wife 3
4615970 2235993 2235993 defendant Feryman John   622118 622118 Feryman, John, of Lamberhurst 0
4615971 2235993 2235993 defendant Dorset John   590243 590243 Dorset, John, of Newmarket 1
4615972 2235993 2235993 defendant Clent Nicholas sergeant   Clent, Nicholas, sergeant 2

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 12.987ms