home / cp40x

names

9 rows where case_id = 2223261

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4573606 2223261 2223261 plaintiff Bartelot William     Bartelot, William 0
4573607 2223261 2223261 defendant Aston Richard   588135 588135 Aston, Richard, of Somerton 0
4573608 2223261 2223261 defendant Wattes John   588135 588135 Wattes, John, of Somerton 1
4573609 2223261 2223261 defendant Taillour Ralph   588135 588135 Taillour, Ralph, of Somerton 2
4573610 2223261 2223261 defendant Dykere John   588135 588135 Dykere, John, of Somerton 3
4573611 2223261 2223261 defendant Hert Richard   771005 771005 Hert, Richard, of Fretewell 4
4573612 2223261 2223261 defendant Smart Richard     Smart, Richard 5
4573613 2223261 2223261 defendant atte Welle John     atte Welle, John 6
4573614 2223261 2223261 defendant Pope Richard     Pope, Richard 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 14.603ms