home / cp40x

names

5 rows where case_id = 2323239

✎ 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
4888633 2323239 2323239 plaintiff Clater Roger     Clater, Roger 0
4888634 2323239 2323239 defendant Thore Robert, junior fisher 817721 817721 Thore, Robert, junior, of Rudcar, fisher 0
4888635 2323239 2323239 defendant Stevenson John laborer 759886 759886 Stevenson, John, of Gisburn, laborer 1
4888636 2323239 2323239 defendant Burgh William laborer 779354 779354 Burgh, William, of Kildale, laborer 2
4888637 2323239 2323239 defendant Tomlynson John weaver 587327 587327 Tomlynson, John, of Eton, weaver 3

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 15.112ms