home / cp40x

names

6 rows where case_id = 2104716

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4226430 2104716 2104716 plaintiff Godbeare Richard     Godbeare, Richard 0
4226431 2104716 2104716 defendant Luttrell Hugh gent 718763 718763 Luttrell, Hugh, of Honibur, Lylstoke, gent 0
4226432 2104716 2104716 defendant Purdie William bellfounder 718764 718764 Purdie, William, of Closworth, bellfounder 1
4226433 2104716 2104716 defendant Clenche Robert yeoman 718765 718765 Clenche, Robert, of Rumpton, yeoman 2
4226434 2104716 2104716 defendant Luttrell Nicholas (legal representative) 718766 718766 Luttrell, Nicholas, of Honybur, Liltstocke, gent, executrix of 3
4226435 2104716 2104716 defendant Luttrell Jane   718767 718767 Luttrell, Jane, of Lilstoke widow 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 13.593ms