home / cp40x

names

5 rows where case_id = 2268985

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4711704 2268985 2268985 plaintiff Saunderson John (legal representative) 603528 603528 Saunderson, John, of Kyngeston upon Hull, executors of 0
4711705 2268985 2268985 plaintiff Saunderson Alice     Saunderson, Alice(? 1
4711706 2268985 2268985 plaintiff Barton Thomas     Barton, Thomas 2
4711707 2268985 2268985 defendant Betson Richard merchant 789123 789123 Betson, Richard, of Plomptre, Notts, merchant 0
4711708 2268985 2268985 defendant Rymeswell William chapman 589401 589401 Rymeswell, William, of Scardeburgh, chapman 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 17.094ms