home / cp40x

names

6 rows where case_id = 2498134

✎ 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
5477020 2498134 2498134 plaintiff Whyte William draper & Alderman 585869 585869 Whyte, William, of London, draper & Alderman 0
5477021 2498134 2498134 defendant Trygge Thomas dyer 586787 586787 Trygge, Thomas, of Chesterfeld, Derbs, dyer 0
5477022 2498134 2498134 defendant Clyff Alice widow 587631 587631 Clyff, Alice, of Chesterfeld, widow 1
5477023 2498134 2498134 defendant Wodhouse John dyer 891449 891449 Wodhouse, John, of Dranfeld in the Peke, Derbs, dyer 2
5477024 2498134 2498134 defendant Somer Richard clothman 589083 589083 Somer, Richard, of Boyton, Wilts, clothman 3
5477025 2498134 2498134 defendant Levyshod John smith 891450 891450 Levyshod, John, of Wadehirst, Sussex, smith 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 13.262ms