home / cp40x

names

8 rows where case_id = 2507124

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5507079 2507124 2507124 plaintiff Colyns Ralph     Colyns, Ralph 0
5507080 2507124 2507124 defendant Tetnam William   587016 587016 Tetnam, William, of Southyell, mason 0
5507081 2507124 2507124 defendant Garbeler Hugh yeoman 586918 586918 Garbeler, Hugh, of Stanford, yeoman 1
5507082 2507124 2507124 defendant Wayte William laborer 586918 586918 Wayte, William, of Stanford, laborer 2
5507083 2507124 2507124 defendant Baudewyn Robert laborer 586918 586918 Baudewyn, Robert, of Stanford, laborer 3
5507084 2507124 2507124 defendant Britte Richard laborer 586918 586918 Britte, Richard, of Stanford, laborer 4
5507085 2507124 2507124 defendant Aleyn John laborer 586918 586918 Aleyn, John, of Stanford, laborer 5
5507086 2507124 2507124 defendant Humfre Richard laborer 587016 587016 Humfre, Richard, of Southyell, laborer 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 17.729ms