home / cp40x

names

6 rows where case_id = 2250548

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4665054 2250548 2250548 plaintiff Hereward John     Hereward, John 0
4665055 2250548 2250548 defendant Rowehed Thomas chaplain 779941 779941 Rowehed, Thomas, of Tyffeld, Nhants, chaplain 0
4665056 2250548 2250548 defendant Abbot Richard scrivener 586117 586117 Abbot, Richard, of Coventry, scrivener 1
4665057 2250548 2250548 defendant Duston John   635498 635498 Duston, John, of Stretton on Donnesmore 2
4665058 2250548 2250548 defendant Becham John chandler 586117 586117 Becham, John, of Coventry, chandler 3
4665059 2250548 2250548 defendant Brymmesgrove John merchant 586117 586117 Brymmesgrove, John, of Coventry, merchant 4

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