home / cp40x

names

7 rows where case_id = 2410294

✎ 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
5181364 2410294 2410294 plaintiff Byram John     Byram, John 0
5181365 2410294 2410294 defendant Whytacur Thomas draper 654978 654978 Whytacur, Thomas, of Leicester, Leics, draper 0
5181366 2410294 2410294 defendant Lynge John yeoman 613185 613185 Lynge, John, of Burton, Staffs, yeoman 1
5181367 2410294 2410294 defendant Wylson John chapman 586435 586435 Wylson, John, of Leicester, chapman 2
5181368 2410294 2410294 defendant Omedowe John yeoman 821434 821434 Omedowe, John, of Drayton, Leics, yeoman 3
5181369 2410294 2410294 defendant Beyr Reginald (legal representative) 586117 586117 Beyr, Reginald, of Coventry, goldsmith, executor of 4
5181370 2410294 2410294 defendant Beyr John   586022 586022 (Beyr, John, of Lutterworth, Leics, 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.482ms