home / cp40x

names

6 rows where case_id = 2425828

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5235036 2425828 2425828 plaintiff Dalyson William (legal representative)   Dalyson, William, administratrix of 0
5235037 2425828 2425828 plaintiff Dalyson Katherine     Dalyson, Katherine 1
5235038 2425828 2425828 defendant Waryson William husbandman 591351 591351 Waryson, William, of Wynthorp, husbandman 0
5235039 2425828 2425828 defendant Hamby Walter gent 862479 862479 Hamby, Walter, of Brokellesby, gent 1
5235040 2425828 2425828 defendant Thursby John gent 608731 608731 Thursby, John, of Croxby, gent 2
5235041 2425828 2425828 defendant Pynder Richard husbandman 787691 787691 Pynder, Richard, of Stanesby, husbandman 3

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.353ms