home / cp40x

names

6 rows where case_id = 2317627

✎ 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
4870133 2317627 2317627 plaintiff Lorde William   594499 594499 Lorde, William, of Retforth 0
4870134 2317627 2317627 defendant Perpond Roger gent 614621 614621 Perpond, Roger, of Landford, gent 0
4870135 2317627 2317627 defendant Clerk John glover 587948 587948 Clerk, John, of Newerk, glover 1
4870136 2317627 2317627 defendant Orchard Roger butcher 587327 587327 Orchard, Roger, of Eton, butcher 2
4870137 2317627 2317627 defendant Barton Thomas shoemaker 815247 815247 Barton, Thomas, of West Ratford, shoemaker 3
4870138 2317627 2317627 defendant Lyncoln John butcher 612266 612266 Lyncoln, John, of Blythe, butcher 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 18.564ms