home / cp40x

names

6 rows where case_id = 2372093

✎ 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
5051580 2372093 2372093 plaintiff Wilcok John     Wilcok, John, on his own account 0
5051581 2372093 2372093 defendant Wodhall Richard gent 766951 766951 Wodhall, Richard, of Wyntworth, gent 0
5051582 2372093 2372093 defendant Symson William husbandman 586779 586779 Symson, William, of Brampton, husbandman 1
5051583 2372093 2372093 defendant Wadyngham William yeoman 594470 594470 Wadyngham, William, of Suthwerk, Surrey, yeoman 2
5051584 2372093 2372093 defendant Teler Richard teler or tailor 840476 840476 Teler, Richard, of Neweton, Surr, teler or tailor 3
5051585 2372093 2372093 defendant Chapman John chapman 604961 604961 Chapman, John, of Westminster, Middx, 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 5.685ms