home / cp40x

names

7 rows where case_id = 2041403

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4047074 2041403 2041403 plaintiff Spencer Robert gent 630777 630777 Spencer, Robert, of Brantfeld, gent 0
4047075 2041403 2041403 defendant Wallys John gent 681915 681915 Wallys, John, of Berkford, Beds, gent 0
4047076 2041403 2041403 defendant Dorcetor William gent 681916 681916 Dorcetor, William, of Berkford, gent 1
4047077 2041403 2041403 defendant Scotte William yeoman 677033 677033 Scotte, William, of Offorde Darcy, Hunts, yeoman 2
4047078 2041403 2041403 defendant Wallys Henry gent 621639 621639 Wallys, Henry, of Temysford, Beds, gent 3
4047079 2041403 2041403 defendant Scotte Robert (legal representative) 681917 681917 Scotte, Robert, of Devilhoo, yeoman, executor of 4
4047080 2041403 2041403 defendant Scotte William husbandman 681918 681918 Scotte, William, of Devilho, Beds, husbandman 5

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