home / cp40x

names

7 rows where case_id = 2465277

✎ 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
5366814 2465277 2465277 plaintiff Byngham Thomas administrators of   Byngham, Thomas, administrators of 0
5366815 2465277 2465277 plaintiff Orston Thomas     (Orston, Thomas 1
5366816 2465277 2465277 plaintiff Leek Thomas   615419 615419 Leek, Thomas, of Granby 2
5366817 2465277 2465277 plaintiff Croskyll William chaplain   Croskyll, William, chaplain 3
5366818 2465277 2465277 defendant Dowenes John yeoman 878336 878336 Dowenes, John, of Farnesfeld, Notts, yeoman 0
5366819 2465277 2465277 defendant Bateman John husbandman 878337 878337 Bateman, John, of Farnesfold, husbandman 1
5366820 2465277 2465277 defendant Brok Richard weaver 796719 796719 Brok, Richard, of Wuthwell, Notts, weaver 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 19.81ms