home / cp40x

names

8 rows where case_id = 2216996

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4553394 2216996 2216996 plaintiff Gaymore John     Gaymore, John 0
4553395 2216996 2216996 defendant Pollard Richard   589965 589965 Pollard, Richard, of Weston Peverell 0
4553396 2216996 2216996 defendant Stephen John carpenter   Stephen, John, carpenter 1
4553397 2216996 2216996 defendant Forde William   768922 768922 Forde, William, of Stoke Damarle 2
4553398 2216996 2216996 defendant Trefry John   768922 768922 Trefry, John, of Stoke Damarle 3
4553399 2216996 2216996 defendant Hayman John carpenter   Hayman, John, carpenter 4
4553400 2216996 2216996 defendant Nyell Edmund   768923 768923 Nyell, Edmund, of Bikelegh, son of John 5
4553401 2216996 2216996 defendant Pollard John   768922 768922 Pollard, John, of Stoke Damarle 6

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 16.152ms