home / cp40x

names

6 rows where case_id = 2286576

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4769954 2286576 2286576 plaintiff Porter Simon   606667 606667 Porter, Simon, of Reading 0
4769955 2286576 2286576 defendant Underwode Richard chapman 603552 603552 Underwode, Richard, of Iver, Bucks, chapman 0
4769956 2286576 2286576 defendant Exe John chapman 604729 604729 Exe, John, of Newbury, Berks, chapman 1
4769957 2286576 2286576 defendant Yde John fisherman 606667 606667 Yde, John, of Reading, fisherman 2
4769958 2286576 2286576 defendant Gourley Robert dyer 793475 793475 Gourley, Robert, of Christen Malford, Wilts, dyer 3
4769959 2286576 2286576 defendant Calle Thomas dyer 598319 598319 Calle, Thomas, of Alsford, Hants, dyer 4

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