home / cp40x

names

7 rows where case_id = 2478022

✎ 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
5410261 2478022 2478022 plaintiff Brotin Nicholas     Brotin, Nicholas 0
5410262 2478022 2478022 defendant Annesley Hugh fishmonger 619153 619153 Annesley, Hugh, of Loughborough, Leics, fishmonger 0
5410263 2478022 2478022 defendant Annesley Thomas yeoman 613795 613795 Annesley, Thomas, of Loughburgh, yeoman 1
5410264 2478022 2478022 defendant Belynger Thomas yeoman 586608 586608 Belynger, Thomas, of Newerk, Notts, yeoman 2
5410265 2478022 2478022 defendant (illegible) Thomas yeoman 587948 587948 _, Thomas, of Newerk, yeoman 3
5410266 2478022 2478022 defendant Blokley John, sen yeoman 630100 630100 Blokley, John, sen, of Kynvare, Staffs, yeoman 4
5410267 2478022 2478022 defendant Blokley John jun, of Kynvare, yeoman   Blokley, John, jun, of Kynvare, yeoman 5

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.335ms