home / cp40x

names

7 rows where case_id = 1966959

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3829017 1966959 1966959 plaintiff Cookyssey John     Cookyssey, John 0
3829018 1966959 1966959 defendant Hedy John husbandman 615769 615769 Hedy, John, of Pepleton, husbandman 0
3829019 1966959 1966959 defendant Ware John merchant 585925 585925 Ware, John, of Bristol, merchant 1
3829020 1966959 1966959 defendant White Thomas merchant 585925 585925 White, Thomas, of Bristol, merchant 2
3829021 1966959 1966959 defendant Cropthorne Richard   586204 586204 Cropthorne, Richard, of Bengeworth, wool winder 3
3829022 1966959 1966959 defendant Fletcher Richard husbandman 590069 590069 Fletcher, Richard, of Blockeley, husbandman 4
3829023 1966959 1966959 defendant Lane Richard husbandman 596641 596641 Lane, Richard, of Badsey, 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 8.793ms