home / cp40x

names

6 rows where case_id = 2214945

✎ 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
4546854 2214945 2214945 plaintiff Brugge William     Brugge, William 0
4546855 2214945 2214945 defendant Baker Robert   587248 587248 Baker, Robert, of Wynchecombe 0
4546856 2214945 2214945 defendant atte Hull Thomas   768192 768192 atte Hull, Thomas, of Putteley 1
4546857 2214945 2214945 defendant Wyther John   604381 604381 Wyther, John, of Cam 2
4546858 2214945 2214945 defendant Style Walter   591693 591693 Style, Walter, of Cheltenham 3
4546859 2214945 2214945 defendant Mountford Thomas   706434 706434 Mountford, Thomas, of Box, Wilts 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 12.033ms