home / cp40x

names

9 rows where case_id = 1981543

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3874047 1981543 1981543 plaintiff Collumbell John (legal representative) 587210 587210 Collumbell, John, of Merston under Tutbury, executors of 0
3874048 1981543 1981543 plaintiff Porte John, junior     (Porte, John, junior 1
3874049 1981543 1981543 plaintiff Collumbell Gregory     Collumbell, Gregory 2
3874050 1981543 1981543 plaintiff Collumbell Richard     Collumbell, Richard 3
3874051 1981543 1981543 defendant Baynbrigg Robert woolman 643481 643481 Baynbrigg, Robert, of Baylyngton, woolman 0
3874052 1981543 1981543 defendant Alsop John woolman 636083 636083 Alsop, John, of Holland, woolman 1
3874053 1981543 1981543 defendant Dage William woolman 636083 636083 Dage, William, of Holland, woolman 2
3874054 1981543 1981543 defendant Tofte Robert drover 612836 612836 Tofte, Robert, of Bedull, Staffs, drover 3
3874055 1981543 1981543 defendant Yomand Ralph husbandman 643482 643482 Yomand, Ralph, of Olaston, 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 14.295ms