home / cp40x

names

6 rows where case_id = 2406618

✎ 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
5168844 2406618 2406618 plaintiff Fissher William     Fissher, William 0
5168845 2406618 2406618 defendant Gate Lawrence husbandman 855601 855601 Gate, Lawrence, of Huntyngdon, Kent, husbandman 0
5168846 2406618 2406618 defendant Croucher Richard laborer 597937 597937 Croucher, Richard, of Burgham, laborer 1
5168847 2406618 2406618 defendant Baker John baker 637687 637687 Baker, John, of Lamberhurst, Sussex, baker 2
5168848 2406618 2406618 defendant Rust Thomas   622118 622118 Rust, Thomas, of Lamberhurst, inland fish seller 3
5168849 2406618 2406618 defendant Tayllour William husbandman 590039 590039 Tayllour, William, of Huntyngdon, 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 15.14ms