home / cp40x

names

6 rows where case_id = 2274603

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4730063 2274603 2274603 plaintiff Lumbard John     Lumbard, John 0
4730064 2274603 2274603 defendant Symmys Thomas   585988 585988 Symmys, Thomas, of Hethfeld, horse dealer 0
4730065 2274603 2274603 defendant Dybell Thomas husbandman 792517 792517 Dybell, Thomas, of Lenge or Lyng, husbandman 1
4730066 2274603 2274603 defendant Cote Robert husbandman 777084 777084 Cote, Robert, of Lenge, husbandman 2
4730067 2274603 2274603 defendant Bover Richard laborer 792518 792518 Bover, Richard, of Netherbury, Dors, laborer 3
4730068 2274603 2274603 defendant Roo Richard weaver 585871 585871 Roo, Richard, of Taunton, Soms, weaver 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.971ms