home / cp40x

names

6 rows where case_id = 2425827

✎ 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
5235030 2425827 2425827 plaintiff Dalyson William administrators of   Dalyson, William, administrators of 0
5235031 2425827 2425827 plaintiff Spert Richard     (Spert, Richard 1
5235032 2425827 2425827 defendant Waryson William husbandman 591351 591351 Waryson, William, of Wynthorp, husbandman 0
5235033 2425827 2425827 defendant Hamby Walter gent 862479 862479 Hamby, Walter, of Brokellesby, gent 1
5235034 2425827 2425827 defendant Thursby John gent 608731 608731 Thursby, John, of Croxby, gent 2
5235035 2425827 2425827 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 15.36ms