home / cp40x

names

10 rows where case_id = 2234530

✎ 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
4611076 2234530 2234530 plaintiff Chicche John     Chicche, John 0
4611077 2234530 2234530 defendant Turnour Richard   774363 774363 Turnour, Richard, of Turnourshill 0
4611078 2234530 2234530 defendant Bernard Thomas   600293 600293 Bernard, Thomas, of Westmyll 1
4611079 2234530 2234530 defendant Dryver Ralph     Dryver, Ralph 2
4611080 2234530 2234530 defendant Potell Richard   586060 586060 Potell, Richard, of Enfeld 3
4611081 2234530 2234530 defendant Gedyngton Richard     Gedyngton, Richard 4
4611082 2234530 2234530 defendant Benton John   760311 760311 Benton, John, of Welcomstowe 5
4611083 2234530 2234530 defendant Bodevyle John     Bodevyle, John 6
4611084 2234530 2234530 defendant Hede John     Hede, John 7
4611085 2234530 2234530 defendant Bedelowe John   595755 595755 Bedelowe, John, of Barnet 8

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