home / cp40x

names

5 rows where case_id = 2125406

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4287007 2125406 2125406 plaintiff Grene Simon     Grene, Simon 0
4287008 2125406 2125406 defendant Tyler George bargeman 622889 622889 Tyler, George, of Pen, bargeman 0
4287009 2125406 2125406 defendant Dene William yeoman 730190 730190 Dene, William, of Myssenden, Bucks, yeoman 1
4287010 2125406 2125406 defendant Dounte Ambrose bargeman 587343 587343 Dounte, Ambrose, of Woborn, Bucks, bargeman 2
4287011 2125406 2125406 defendant Porter William bargeman 730191 730191 Porter, William, of Woborn, bargeman 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 13.06ms