home / cp40x

names

6 rows where case_id = 2480950

✎ 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
5420165 2480950 2480950 plaintiff Tower Robert     Tower, Robert 0
5420166 2480950 2480950 defendant (not given) Margaret prioress of Flixton   Flixton, Margaret, prioress of 0
5420167 2480950 2480950 defendant Mentlyng John clerk 585938 585938 Mentlyng, John, of Langley, Norf, clerk 1
5420168 2480950 2480950 defendant Pepyn William tanner 885708 885708 Pepyn, William, of Wenaston, Suff, tanner 2
5420169 2480950 2480950 defendant Trace Robert gent 590563 590563 Trace, Robert, of Badyngham, gent 3
5420170 2480950 2480950 defendant Williamson Robert tailor 599042 599042 Williamson, Robert, of Theberton, tailor 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.828ms