home / cp40x

names

6 rows where case_id = 2237132

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4619648 2237132 2237132 plaintiff Hony Roger   775120 775120 Hony, Roger, of Fulmodeston 0
4619649 2237132 2237132 defendant Yaxham William   589665 589665 Yaxham, William, of Lucham 0
4619650 2237132 2237132 defendant Lemman John   775121 775121 Lemman, John, of Stibherd 1
4619651 2237132 2237132 defendant Tite Richard   775121 775121 Tite, Richard, of Stibherd 2
4619652 2237132 2237132 defendant Taylour Geoffrey   757423 757423 Taylour, Geoffrey, of Foxlee 3
4619653 2237132 2237132 defendant Makhayt Simon butcher   Makhayt, Simon, butcher 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 11.785ms