home / cp40x

names

6 rows where case_id = 2049092

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4068697 2049092 2049092 plaintiff Kyrkham John     Kyrkham, John 0
4068698 2049092 2049092 plaintiff Spenser John     Spenser, John 1
4068699 2049092 2049092 defendant Page William chapman 686844 686844 Page, William, of Blackny, Norf, chapman 0
4068700 2049092 2049092 defendant Wylson William smith 659221 659221 Wylson, William, of Beckles, Suff, smith 1
4068701 2049092 2049092 defendant Aderley John smith 585951 585951 Aderley, John, of Winchester, smith 2
4068702 2049092 2049092 defendant Deynty alias Fyssher John mercer 586848 586848 Deynty alias Fyssher, John, of Northampton, mercer 3

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