home / cp40x

names

4 rows where case_id = 1925764

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3698544 1925764 1925764 plaintiff Warener Thomas     Warener, Thomas 0
3698545 1925764 1925764 defendant Gilpyn Cador gent 610780 610780 Gilpyn, Cador, of Kyrkby in Kentdale, gent 0
3698546 1925764 1925764 defendant Denyson Robert yeoman 610780 610780 Denyson, Robert, of Kyrkby in Kentdale, yeoman 1
3698547 1925764 1925764 defendant Warener John husbandman 613480 613480 Warener, John, of Strikland Kettill, husbandman 2

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