home / cp40x

names

7 rows where case_id = 2038033

✎ 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
4037387 2038033 2038033 plaintiff Kay John esq 679719 679719 Kay, John, of Wodsome, esq 0
4037388 2038033 2038033 plaintiff Baylye John     Baylye, John 1
4037389 2038033 2038033 defendant Hyrst Edward yeoman 679720 679720 Hyrst, Edward, of Honlay, yeoman 0
4037390 2038033 2038033 defendant Armytage John, senior yeoman 679721 679721 Armytage, John, senior, of Honlaye, yeoman 1
4037391 2038033 2038033 defendant Thewles Roger yeoman 679721 679721 Thewles, Roger, of Honlaye, yeoman 2
4037392 2038033 2038033 defendant Lockwood Edward husbandman 679721 679721 Lockwood, Edward, of Honlaye, husbandman 3
4037393 2038033 2038033 defendant Taylour Robert husbandman 679721 679721 Taylour, Robert, of Honlaye, 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 12.402ms