home / cp40x

names

7 rows where case_id = 2090562

✎ 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
4185898 2090562 2090562 plaintiff Southe John gent   Southe, John, gent 0
4185899 2090562 2090562 defendant Heyton William gent 710915 710915 Heyton, William, of Hesall, Yorks, gent 0
4185900 2090562 2090562 defendant Grantham Thomas husbandman 710911 710911 Grantham, Thomas, of Waylsbey, husbandman 1
4185901 2090562 2090562 defendant Sowden William draper 659687 659687 Sowden, William, of Markett Rason, draper 2
4185902 2090562 2090562 defendant Whitworthe Richard weaver 644799 644799 Whitworthe, Richard, of Magna Grymsbye, weaver 3
4185903 2090562 2090562 defendant Holland William yeoman 627268 627268 Holland, William, of Lowthe, yeoman 4
4185904 2090562 2090562 defendant Towle John husbandman 618125 618125 Towle, John, of Magna Lymber, husbandman 5

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