home / cp40x

names

6 rows where case_id = 2354436

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4991814 2354436 2354436 plaintiff Cork John     Cork, John 0
4991815 2354436 2354436 defendant Symmnay Walter husbandman 831735 831735 Symmnay, Walter, of Menhyntor, husbandman 0
4991816 2354436 2354436 defendant Gonet John, sen husbandman 831736 831736 Gonet, John, sen, of Penhanger, husbandman 1
4991817 2354436 2354436 defendant Calwe Johnm husbandman 831737 831737 Calwe, Johnm, of Trekendale, husbandman 2
4991818 2354436 2354436 defendant Dorset Reginald husbandman 831738 831738 Dorset, Reginald, of Godertonk, husbandman 3
4991819 2354436 2354436 defendant Facy Michael tailor 665957 665957 Facy, Michael, of St Colomb the Over, tailor 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 14.191ms