home / cp40x

names

6 rows where case_id = 2375966

✎ 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
5064645 2375966 2375966 plaintiff Leeffe William   607225 607225 Leeffe, William, of Oundyll 0
5064646 2375966 2375966 defendant Keete John mercer 842141 842141 Keete, John, of Glapthorne, mercer 0
5064647 2375966 2375966 defendant Alcus John husbandman 842141 842141 Alcus, John, of Glapthorne, husbandman 1
5064648 2375966 2375966 defendant Faux John husbandman 763690 763690 Faux, John, of Tychemerssh, husbandman 2
5064649 2375966 2375966 defendant Burton William husbandman 842141 842141 Burton, William, of Glapthorne, husbandman 3
5064650 2375966 2375966 defendant Vaus Richard woolman 590356 590356 Vaus, Richard, of Oundell, woolman 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.587ms