home / cp40x

names

7 rows where case_id = 2441707

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5288664 2441707 2441707 plaintiff Lute Thomas gent   Lute, Thomas, gent 0
5288665 2441707 2441707 plaintiff Wodelonde John yeoman 587020 587020 Wodelonde, John, of Iseldon, yeoman 1
5288666 2441707 2441707 defendant Wake Thomas esq 603475 603475 Wake, Thomas, of Blysworth, Nhants, esq 0
5288667 2441707 2441707 defendant Wake Roger gent 628881 628881 Wake, Roger, of Blysworth, gent 1
5288668 2441707 2441707 defendant Pye Thomas yeoman 628881 628881 Pye, Thomas, of Blysworth, yeoman 2
5288669 2441707 2441707 defendant Spence Richard yeoman 869003 869003 Spence, Richard, of Stowe Nine Churches, Nhants, yeoman 3
5288670 2441707 2441707 defendant Harecourt John yeoman 680102 680102 Harecourt, John, of Est Haddon, Nhants, 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 16.893ms