home / cp40x

names

6 rows where case_id = 2425676

✎ 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
5234483 2425676 2425676 plaintiff Couper John     Couper, John 0
5234484 2425676 2425676 defendant Burton William yeoman 631888 631888 Burton, William, of Bantre, Yorks, yeoman 0
5234485 2425676 2425676 defendant Doket Robert husbandman 862407 862407 Doket, Robert, of Thrompton juxta Ordesall, husbandman 1
5234486 2425676 2425676 defendant Doket Beatrice widow 586593 586593 Doket, Beatrice, of Est Retford, widow 2
5234487 2425676 2425676 defendant Gabytus John husbandman 640139 640139 Gabytus, John, of Darleton, husbandman 3
5234488 2425676 2425676 defendant Vaus John husbandman 754719 754719 Vaus, John, of Milnethorp, husbandman 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.857ms