home / cp40x

names

6 rows where case_id = 2489391

✎ 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
5448311 2489391 2489391 plaintiff Ley John merchant 585925 585925 Ley, John, of Bristol, merchant 0
5448312 2489391 2489391 defendant Kyng Thomas chapman 605348 605348 Kyng, Thomas, of Tewkesbury, Gloucs, chapman 0
5448313 2489391 2489391 defendant Jorge Thomas woolmonger 656091 656091 Jorge, Thomas, of Trowell, Notts, woolmonger 1
5448314 2489391 2489391 defendant Bennet Thomas clothier 888633 888633 Bennet, Thomas, of Rodbourgh, Gloucs, clothier 2
5448315 2489391 2489391 defendant Sadeller Robert   670559 670559 Sadeller, Robert, of Beaudeley, Worcs, trough man 3
5448316 2489391 2489391 defendant Aubrey Robert merchant 585925 585925 Aubrey, Robert, of Bristol, merchant 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.92ms