home / cp40x

names

7 rows where case_id = 2242647

✎ 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
4637997 2242647 2242647 plaintiff Burgoigne John     Burgoigne, John 0
4637998 2242647 2242647 defendant Swyft Robert   593282 593282 Swyft, Robert, of Drayton 0
4637999 2242647 2242647 defendant Bette Hugh shepherd   Bette, Hugh, shepherd 1
4638000 2242647 2242647 defendant Milnere Thomas   617730 617730 Milnere, Thomas, of Swavesey 2
4638001 2242647 2242647 defendant Davy John   651618 651618 Davy, John, of Fen Drayton 3
4638002 2242647 2242647 defendant Lynne John milner   Lynne, John, milner 4
4638003 2242647 2242647 defendant Proudfote John   776822 776822 Proudfote, John, of Witelsey 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.393ms