home / cp40x

names

6 rows where case_id = 2504127

✎ 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
5497281 2504127 2504127 plaintiff Luke Richard (legal representative)   Luke, Richard, administrator of 0
5497282 2504127 2504127 plaintiff Porter John     Porter, John 1
5497283 2504127 2504127 defendant Barneston Thomas gent 862170 862170 Barneston, Thomas, of Stevenhith, gent 0
5497284 2504127 2504127 defendant Smyth Richard yeoman 862170 862170 Smyth, Richard, of Stevenhith, yeoman 1
5497285 2504127 2504127 defendant Cook William yeoman 862170 862170 Cook, William, of Stevenhith, yeoman 2
5497286 2504127 2504127 defendant Walle Thomas laborer 862170 862170 Walle, Thomas, of Stevenhith, laborer 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 12.699ms