home / cp40x

names

8 rows where case_id = 2001837

✎ 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
3934509 2001837 2001837 plaintiff Hochekyns John (legal representative)   Hochekyns, John, executors of 0
3934510 2001837 2001837 plaintiff Hochekyns John son of Testator   (Hochekyns, John, son of Testator 1
3934511 2001837 2001837 plaintiff Bettall Hugh gent   Bettall, Hugh, gent 2
3934512 2001837 2001837 plaintiff Lee Robert father in law of Testator   Lee, Robert, father in law of Testator 3
3934513 2001837 2001837 plaintiff Woodnet Lawrence     Woodnet, Lawrence 4
3934514 2001837 2001837 plaintiff Woodnet Margery formerly wife of Testator   Margery, his wife, formerly wife of Testator 5
3934515 2001837 2001837 defendant Lee Randolf gent 654985 654985 Lee, Randolf, of Stonylow, Staffs, gent 0
3934516 2001837 2001837 defendant Flynte Thomas   639764 639764 Flynte, Thomas, of Madeley, Staffs, shoe maker 1

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.494ms