home / cp40x

names

7 rows where case_id = 2357937

✎ 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
5003568 2357937 2357937 plaintiff Payn John   820789 820789 Payn, John, of Brandon, Warws 0
5003569 2357937 2357937 plaintiff Shadde John mercer 586117 586117 Shadde, John, of Coventry, mercer 1
5003570 2357937 2357937 defendant atte Welle Robert husbandman 591494 591494 atte Welle, Robert, of Dodyngton, Nhants, husbandman 0
5003571 2357937 2357937 defendant Smyth alias Thorp Thomas smith 591495 591495 Smyth alias Thorp, Thomas, of Dodyngton, smith 1
5003572 2357937 2357937 defendant Wellys Robert butcher 833594 833594 Wellys, Robert, of Great Dodyngton, Nhants, butcher 2
5003573 2357937 2357937 defendant Roo Thomas husbandman 826363 826363 Roo, Thomas, of Filgrave, Bucks, husbandman 3
5003574 2357937 2357937 defendant Roo John yeoman 795212 795212 Roo, John, of wilby, Nhants, yeoman 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 10.363ms