home / cp40x

names

6 rows where case_id = 2003106

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3938173 2003106 2003106 plaintiff Pope Francis merchant tailor 585869 585869 Pope, Francis, of London, merchant tailor 0
3938174 2003106 2003106 defendant Dowson Edward merchant 655948 655948 Dowson, Edward, of Carlisle, Cumb, merchant 0
3938175 2003106 2003106 defendant Fassett Thomas draper 655949 655949 [on d/1198] Fassett, Thomas, of Peryth, Cumbl, draper 1
3938176 2003106 2003106 defendant Stanlk James draper 655950 655950 Stanlk, James, of Carlioll, draper 2
3938177 2003106 2003106 defendant Rosetor George gent 654216 654216 Rosetor, George, of Asselby, Lincs, gent 3
3938178 2003106 2003106 defendant Ireland John chapman 620133 620133 Ireland, John, of Peryth, chapman 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 14.035ms