home / cp40x

names

6 rows where case_id = 2432162

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5256524 2432162 2432162 plaintiff Dowese John     Dowese, John 0
5256525 2432162 2432162 defendant Bee John husbandman 594497 594497 Bee, John, of Parva Drayton, husbandman 0
5256526 2432162 2432162 defendant Scotte Thomas   614511 614511 Scotte, Thomas, of Carleton in Lyndryk, cartwright 1
5256527 2432162 2432162 defendant Rye Robert husbandman 596660 596660 Rye, Robert, of Whitwell, Derbs, husbandman 2
5256528 2432162 2432162 defendant Benet Thomas husbandman 614511 614511 Benet, Thomas, of Carleton in Lyndryk, husbandman 3
5256529 2432162 2432162 defendant Forster John husbandman 628955 628955 Forster, John, of Gaytforth, husbandman 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 11.918ms