home / cp40x

names

7 rows where case_id = 2240606

✎ 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
4631049 2240606 2240606 plaintiff Symmes Thomas     Symmes, Thomas 0
4631050 2240606 2240606 defendant Wotton Robert   776173 776173 Wotton, Robert, of Wolveton, Dors 0
4631051 2240606 2240606 defendant Batte Richard     Batte, Richard 1
4631052 2240606 2240606 defendant Chepman Robert   774176 774176 Chepman, Robert, of Exebrugge 2
4631053 2240606 2240606 defendant Gerveys John     Gerveys, John 3
4631054 2240606 2240606 defendant Nekke Thomas   586368 586368 Nekke, Thomas, of Taunton 4
4631055 2240606 2240606 defendant Helyer John   600510 600510 Helyer, John, of Thurston 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.735ms