home / cp40x

names

7 rows where place_id = 781980

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, surname, forename, occupation, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4675294 2257883 2257883 defendant Piper Robert husbandman 781980 781980 Piper, Robert, of Saureby, husbandman 1
4799741 2296104 2296104 defendant Fethir William merchant 781980 781980 Fethir, William, of Saureby, merchant 5
4903254 2327625 2327625 defendant Smyth Thomas husbandman 781980 781980 Smyth, Thomas, of Saureby, husbandman 1
4903257 2327625 2327625 defendant Beverlay John husbandman 781980 781980 Beverlay, John, of Saureby, husbandman 4
5031209 2366003 2366003 defendant Smyth John husbandman 781980 781980 Smyth, John, of Saureby, husbandman 13
5031238 2366004 2366004 defendant Smyth John husbandman 781980 781980 Smyth, John, of Saureby, husbandman 12
5031268 2366005 2366005 defendant Smyth John husbandman 781980 781980 Smyth, John, of Saureby, husbandman 12

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 6.678ms