home / cp40x

names

8 rows where case_id = 2336425

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4932072 2336425 2336425 plaintiff Wells William   596220 596220 Wells, William, of Ely, prior 0
4932073 2336425 2336425 defendant Mykylfeld William esq 603925 603925 Mykylfeld, William, of Henam, esq 0
4932074 2336425 2336425 defendant Ulveston John   645438 645438 Ulveston, John, of Ugchale 1
4932075 2336425 2336425 defendant Mykylfeld Robert   645438 645438 Mykylfeld, Robert, of Ugchale 2
4932076 2336425 2336425 defendant Castell John   603786 603786 Castell, John, of Dersham 3
4932077 2336425 2336425 defendant Croxton Nicholas   607927 607927 Croxton, Nicholas, of Westleton 4
4932078 2336425 2336425 defendant Croxton John   607927 607927 Croxton, John, of Westleton 5
4932079 2336425 2336425 defendant Cotyngham William   607927 607927 Cotyngham, William, of Westleton 6

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 15.684ms