home / cp40x

names

6 rows where case_id = 2213120

✎ 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
4541091 2213120 2213120 plaintiff Wisse Thomas   588037 588037 Wisse, Thomas, of Lichefeld 0
4541092 2213120 2213120 defendant Bagot John   605966 605966 Bagot, John, of Hampton 0
4541093 2213120 2213120 defendant Walker Philip   586028 586028 Walker, Philip, of Tamworth 1
4541094 2213120 2213120 defendant atte Walle John   586028 586028 atte Walle, John, of Tamworth 2
4541095 2213120 2213120 defendant atte Siche John   760667 760667 atte Siche, John, of Walshale 3
4541096 2213120 2213120 defendant Aston Thomas   587846 587846 Aston, Thomas, of Evesham 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 10.87ms