home / cp40x

names

7 rows where case_id = 2415498

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5199123 2415498 2415498 plaintiff Warbelton William esq   Warbelton, William, esq 0
5199124 2415498 2415498 plaintiff Warbelton Margaret     Margaret, his wife 1
5199125 2415498 2415498 defendant Besyle William gent 585927 585927 Besyle, William, of Bradford, Wilts, gent 0
5199126 2415498 2415498 defendant Touke John gent 852088 852088 Touke, John, of Wilton by Salisbury, gent 1
5199127 2415498 2415498 defendant Halle Nicholas gent 586349 586349 Halle, Nicholas, of Bradford, gent 2
5199128 2415498 2415498 defendant Kellowe Thomas   690229 690229 Kellowe, Thomas, of Staunton Harecourt, Oxon, parish clerk 3
5199129 2415498 2415498 defendant Culmer John clerk 586688 586688 Culmer, John, of Bampton, Oxon, clerk 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 17.176ms