home / cp40x

names

8 rows where case_id = 2231221

✎ 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
4599988 2231221 2231221 plaintiff Tapton Roger     Tapton, Roger 0
4599989 2231221 2231221 defendant Calverton John de formerly staying in Calverton   Calverton, John de, formerly staying in Calverton 0
4599990 2231221 2231221 defendant Byngham John de tanner   Byngham, John de, tanner 1
4599991 2231221 2231221 defendant Neel William staying in Gotham   Neel, William, staying in Gotham 2
4599992 2231221 2231221 defendant Bakepine Robert staying in Neustede   Bakepine, Robert, staying in Neustede 3
4599993 2231221 2231221 defendant Barker Richard staying in Nottingham   Barker, Richard, staying in Nottingham 4
4599994 2231221 2231221 defendant Alwyn William     Alwyn, William 5
4599995 2231221 2231221 defendant Lane John in the   603165 603165 Lane, John in the, of Lyndeby 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 13.89ms