home / cp40x

names

9 rows where case_id = 2398502

✎ 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
5141037 2398502 2398502 plaintiff Trestrell John     Trestrell, John 0
5141038 2398502 2398502 defendant John William husbandman 807474 807474 John, William, of Trevorvowe, husbandman 0
5141039 2398502 2398502 defendant Hiobe Ralph husbandman 595682 595682 Hiobe, Ralph, of St Probus, husbandman 1
5141040 2398502 2398502 defendant Rawelyn Drew husbandman 852146 852146 Rawelyn, Drew, of Lamelynwarthe, husbandman 2
5141041 2398502 2398502 defendant Hoskyn John husbandman 852147 852147 Hoskyn, John, of Lawelesyk, husbandman 3
5141042 2398502 2398502 defendant Torner John turner 852148 852148 Torner, John, of Trelowethsvoyer, turner 4
5141043 2398502 2398502 defendant Berwas William John husbandman 848901 848901 Berwas, William John, of Tyndele, husbandman 5
5141044 2398502 2398502 defendant Colla Roger husbandman 848901 848901 Colla, Roger, of Tyndele, husbandman 6
5141045 2398502 2398502 defendant Robyn Stephen husbandman 852149 852149 Robyn, Stephen, of Fyntenlaseke, husbandman 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 13.458ms