home / cp40x

names

5 rows where case_id = 2105829

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4229570 2105829 2105829 plaintiff Robert John     Robert, John 0
4229571 2105829 2105829 defendant Gilbert Thomas husbandman 595471 595471 Gilbert, Thomas, of Whitwell, husbandman 0
4229572 2105829 2105829 defendant Wick Thomas tailor 729187 729187 Wick, Thomas, of Reyffham, tailor 1
4229573 2105829 2105829 defendant Grene George husbandman 662905 662905 Grene, George, of Saxthorpe, husbandman 2
4229574 2105829 2105829 defendant Hase Roger yeoman 665462 665462 Hase, Roger, of Reiffham, yeoman 3

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