home / cp40x

names

7 rows where case_id = 2143029

✎ 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
4337987 2143029 2143029 plaintiff Browne Salomon attorney   Browne, Salomon, attorney 0
4337988 2143029 2143029 defendant Yorke John esq 739927 739927 Yorke, John, of Gowthwayte, Yorks, esq 0
4337989 2143029 2143029 defendant Palleyn Daniel gent 739928 739928 Palleyn, Daniel, of Killinghall, Yorks, gent 1
4337990 2143029 2143029 defendant Conyers Richard gent 612968 612968 Conyers, Richard, of Yorkshire, gent 2
4337991 2143029 2143029 defendant Denton William clerk 739929 739929 Denton, William, of Bossall, Yorks, clerk 3
4337992 2143029 2143029 defendant Warde Roland (legal representative)   Warde, Roland, administrator of 4
4337993 2143029 2143029 defendant Warde John shoemaker 586067 586067 Warde, John, of York, shoemaker 5

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