home / cp40x

names

6 rows where case_id = 2296448

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4800820 2296448 2296448 plaintiff West John (legal representative) 589617 589617 West, John, of Dounham, executors of 0
4800821 2296448 2296448 plaintiff Walman William clerk   (Walman, William, clerk 1
4800822 2296448 2296448 plaintiff Bakhot John, junior   590415 590415 Bakhot, John, junior, of Mildenhale 2
4800823 2296448 2296448 plaintiff Draper Bartholomew   587414 587414 Draper, Bartholomew, of Thetford 3
4800824 2296448 2296448 defendant Dekne Thomas yeoman 586180 586180 Dekne, Thomas, of Bury St Edmunds, yeoman 0
4800825 2296448 2296448 defendant Smyth John yeoman 586134 586134 Smyth, John, of Ipswich, yeoman 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 31.429ms