home / cp40x

names

9 rows where case_id = 2182906

✎ 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
4443423 2182906 2182906 plaintiff Castile & Leon John king of, & Duke of Lancaster   Castile & Leon, John, king of, & Duke of Lancaster 0
4443424 2182906 2182906 defendant Baily John formlery bailiff   Baily, John, formlery bailiff 0
4443425 2182906 2182906 defendant Shume John     Shume, John 1
4443426 2182906 2182906 defendant Hayward John     Hayward, John 2
4443427 2182906 2182906 defendant Brym John   755335 755335 Brym, John, of Salesbury 3
4443428 2182906 2182906 defendant Carde Walter   757119 757119 Carde, Walter, of Todeworth 4
4443429 2182906 2182906 defendant Colfot John chaplain   Colfot, John, chaplain 5
4443430 2182906 2182906 defendant Wylle Thomas   755335 755335 Wylle, Thomas, of Salesbury 6
4443431 2182906 2182906 defendant Taillour John   755335 755335 Taillour, John, of Salesbury 7

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