home / cp40x

names

9 rows where case_id = 2437782

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5275043 2437782 2437782 plaintiff Seman William     Seman, William 0
5275044 2437782 2437782 defendant Storour Robert gent 759598 759598 Storour, Robert, of Moryngthorp, gent 0
5275045 2437782 2437782 defendant Storour John, senior gent 759598 759598 Storour, John, senior, of Moryngthorp, gent 1
5275046 2437782 2437782 defendant Smyth John smith 590538 590538 Smyth, John, of Freton, smith 2
5275047 2437782 2437782 defendant Smyth Edmund smith 590538 590538 Smyth, Edmund, of Freton, smith 3
5275048 2437782 2437782 defendant Smyth Robert laborer 590538 590538 Smyth, Robert, of Freton, laborer 4
5275049 2437782 2437782 defendant Cruft John laboer 759598 759598 Cruft, John, of Moryngthorp, laboer 5
5275050 2437782 2437782 defendant Chen-- John laborer 759598 759598 Chen--, John, of Moryngthorp, laborer 6
5275051 2437782 2437782 defendant Turnour John clerk 590538 590538 Turnour, John, of Freton, clerk 7

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