home / cp40x

names

6 rows where case_id = 2322963

✎ 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
4887619 2322963 2322963 plaintiff (not given)   master of St Leonard Hospital, York   St Leonard Hospital, York, master of 0
4887620 2322963 2322963 defendant Walklyn Richard husbandman 816154 816154 Walklyn, Richard, of Helnby, husbandman 0
4887621 2322963 2322963 defendant Thurghcroft John husbandman 816157 816157 Thurghcroft, John, of Wodsetes, husbandman 1
4887622 2322963 2322963 defendant William son of Helnby Hugh, of Helnby, husbandman   William, son of Helnby, Hugh, of Helnby, husbandman 2
4887623 2322963 2322963 defendant Friklay Thomas gent 650100 650100 Friklay, Thomas, of Wykersley, gent 3
4887624 2322963 2322963 defendant Smyth Thomas husbandman 650100 650100 Smyth, Thomas, of Wykersley, husbandman 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 15.751ms