home / cp40x

names

8 rows where case_id = 2222930

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4572468 2222930 2222930 plaintiff atte Cros Roger     atte Cros, Roger 0
4572469 2222930 2222930 defendant Cosseye John     Cosseye, John 0
4572470 2222930 2222930 defendant Hobbys John   601721 601721 Hobbys, John, of Buxston 1
4572471 2222930 2222930 defendant Acris John   770898 770898 Acris, John, of Fretynham 2
4572472 2222930 2222930 defendant Bacon Adam   626512 626512 Bacon, Adam, of Crowmere 3
4572473 2222930 2222930 defendant Wattys Thomas   602137 602137 Wattys, Thomas, of Ingworth 4
4572474 2222930 2222930 defendant Glovere Richard   727857 727857 Glovere, Richard, of Wickmere 5
4572475 2222930 2222930 defendant Bliclyng John   585936 585936 Bliclyng, John, of Norwich 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.366ms