home / cp40x

names

7 rows where case_id = 2228066

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4589410 2228066 2228066 plaintiff Leycestre John burgess & merchant   Leycestre, John, burgess & merchant 0
4589411 2228066 2228066 defendant Belchier John   585925 585925 Belchier, John, of Bristol, burgess 0
4589412 2228066 2228066 defendant Howell John   772492 772492 Howell, John, of Beachet 1
4589413 2228066 2228066 defendant Frere John   586318 586318 Frere, John, of Worcester 2
4589414 2228066 2228066 defendant Houte John   588802 588802 Houte, John, of Wotton under Edge 3
4589415 2228066 2228066 defendant Fyssher John   768901 768901 Fyssher, John, of Aldermerston 4
4589416 2228066 2228066 defendant Mare Peter la   586117 586117 Mare, Peter la, of Coventry 5

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