home / cp40x

names

6 rows where case_id = 1957534

✎ 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
3798784 1957534 1957534 plaintiff Holand Owen     Holand, Owen 0
3798785 1957534 1957534 defendant Wylson John yeoman 631139 631139 Wylson, John, of Whytchurche, Bucks, yeoman 0
3798786 1957534 1957534 defendant Palmer Robert vicar of Whytecherch   Palmer, Robert, vicar of Whytecherch 1
3798787 1957534 1957534 defendant Lovell Gregory gent 631140 631140 Lovell, Gregory, of Hardlyngton, Middx, gent 2
3798788 1957534 1957534 defendant Elys David innholder 631141 631141 Elys, David, of Maydenhede, Bucks, innholder 3
3798789 1957534 1957534 defendant Nore John husbandman 631142 631142 Nore, John, of Stamwell More, Middx, husbandman 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 15.611ms