home / cp40x

names

6 rows where case_id = 2463972

✎ 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
5362663 2463972 2463972 plaintiff Tyll Richard     Tyll, Richard 0
5362664 2463972 2463972 defendant Atcok William clothmaker 585864 585864 Atcok, William, of Cranebroke, clothmaker 0
5362665 2463972 2463972 defendant Atcok Stephen clothmaker 585864 585864 Atcok, Stephen, of Cranebroke, clothmaker 1
5362666 2463972 2463972 defendant Neweman Edward husbandman 594894 594894 Neweman, Edward, of Wyngham, husbandman 2
5362667 2463972 2463972 defendant Smyth William husbandman 594329 594329 Smyth, William, of Ayssh juxta Sandwich, husbandman 3
5362668 2463972 2463972 defendant Berteyn James husbandman 594894 594894 Berteyn, James, of Wyngham, 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 16.458ms