home / cp40x

names

8 rows where case_id = 2225926

✎ 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
4582360 2225926 2225926 plaintiff Eustace Alexander     Eustace, Alexander 0
4582361 2225926 2225926 defendant Alverton Robert   771805 771805 Alverton, Robert, of Staffelde 0
4582362 2225926 2225926 defendant Somerton John   599076 599076 Somerton, John, of Lidgate 1
4582363 2225926 2225926 defendant Norman Roger   646612 646612 Norman, Roger, of Colyngge 2
4582364 2225926 2225926 defendant Bray John   762677 762677 Bray, John, of Tillebery 3
4582365 2225926 2225926 defendant Wynt Thomas   586459 586459 Wynt, Thomas, of Stoke 4
4582366 2225926 2225926 defendant Fuller Thomas   771806 771806 Fuller, Thomas, of Cavendyche 5
4582367 2225926 2225926 defendant Cosyn John   771807 771807 Cosyn, John, of Belchaumpole 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.584ms