home / cp40x

names

10 rows where case_id = 2238056

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4622626 2238056 2238056 plaintiff Lyrebek William (legal representative)   Lyrebek, William, executors of 0
4622627 2238056 2238056 plaintiff Jerard William clerk   (Jerard, William, clerk 1
4622628 2238056 2238056 plaintiff Lyrebek Thomas     Lyrebek, Thomas 2
4622629 2238056 2238056 plaintiff Lyrebek John     Lyrebek, John 3
4622630 2238056 2238056 defendant Taillour Richard   669776 669776 Taillour, Richard, of Langeport 0
4622631 2238056 2238056 defendant Benet Richard   638396 638396 Benet, Richard, of East Coker 1
4622632 2238056 2238056 defendant Warner Richard     Warner, Richard 2
4622633 2238056 2238056 defendant Smyth Thomas   775411 775411 Smyth, Thomas, of Cappelond 3
4622634 2238056 2238056 defendant Bukke Thomas   637118 637118 Bukke, Thomas, of Alampton 4
4622635 2238056 2238056 defendant Colman William   637118 637118 Colman, William, of Alampton 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.82ms