home / cp40x

names

6 rows where case_id = 2440926

✎ 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
5286028 2440926 2440926 plaintiff Hawe John     Hawe, John 0
5286029 2440926 2440926 defendant Smyth William waterman 593853 593853 Smyth, William, of Wysbech, waterman 0
5286030 2440926 2440926 defendant Tayllour Thomas yeoman 586305 586305 Tayllour, Thomas, of Fordham, yeoman 1
5286031 2440926 2440926 defendant Hervy John husbandman 593216 593216 Hervy, John, of Elme, husbandman 2
5286032 2440926 2440926 defendant Wade John skinner 593853 593853 Wade, John, of Wysbech, skinner 3
5286033 2440926 2440926 defendant Tempyll Alan yeoman 662415 662415 Tempyll, Alan, of Westacre, Norf, yeoman 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 7.812ms