home / cp40x

names

7 rows where case_id = 2219154

✎ 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
4560242 2219154 2219154 plaintiff Mylton Thomas   586470 586470 Mylton, Thomas, of Colchester 0
4560243 2219154 2219154 plaintiff Mylton Isabel     Isabel, his wife 1
4560244 2219154 2219154 defendant Porter Simon   586305 586305 Porter, Simon, of Fordham 0
4560245 2219154 2219154 defendant Wyk John   586305 586305 Wyk, John, of Fordham 1
4560246 2219154 2219154 defendant Byslee Thomas   586305 586305 Byslee, Thomas, of Fordham 2
4560247 2219154 2219154 defendant Burvale William   764386 764386 Burvale, William, of Bradewelle 3
4560248 2219154 2219154 defendant Mynche Thomas   755774 755774 Mynche, Thomas, of Staneweye 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 13.892ms