home / cp40x

names

9 rows where case_id = 2227598

✎ 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
4587833 2227598 2227598 plaintiff Jeke Ivo     Jeke, Ivo 0
4587834 2227598 2227598 defendant Warner Robert   772343 772343 Warner, Robert, of Segrave 0
4587835 2227598 2227598 defendant Coke Thomas   772343 772343 Coke, Thomas, of Segrave 1
4587836 2227598 2227598 defendant Annotesson Thomas   772343 772343 Annotesson, Thomas, of Segrave 2
4587837 2227598 2227598 defendant Smyth Ralph   772343 772343 Smyth, Ralph, of Segrave 3
4587838 2227598 2227598 defendant Rotheley Richard     Rotheley, Richard 4
4587839 2227598 2227598 defendant Jacson Richard   772343 772343 Jacson, Richard, of Segrave 5
4587840 2227598 2227598 defendant Hulle Robert   772343 772343 Hulle, Robert, of Segrave 6
4587841 2227598 2227598 defendant Herior Henry   772343 772343 Herior, Henry, of Segrave 7

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.914ms