home / cp40x

names

10 rows where case_id = 2220905

✎ 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
4565946 2220905 2220905 plaintiff Spicer John (legal representative)   Spicer, John, executors of 0
4565947 2220905 2220905 plaintiff Deison Robert     (Deison, Robert 1
4565948 2220905 2220905 plaintiff Deison Isabel formerly wife of John Spicer   Isabel, his wife, formerly wife of John Spicer 2
4565949 2220905 2220905 defendant Hayle Richard   588431 588431 Hayle, Richard, of Tettebury 0
4565950 2220905 2220905 defendant Holond William     Holond, William 1
4565951 2220905 2220905 defendant Jones John   588431 588431 Jones, John, of Tettebury 2
4565952 2220905 2220905 defendant Chapman Nicholas   588802 588802 Chapman, Nicholas, of Wotton under Edge 3
4565953 2220905 2220905 defendant Sevare John   588431 588431 Sevare, John, of Tettebury 4
4565954 2220905 2220905 defendant Fysshere Roger     Fysshere, Roger 5
4565955 2220905 2220905 defendant Agas Robert   588431 588431 Agas, Robert, of Tettebury 6

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 15.842ms