home / cp40x

names

7 rows where case_id = 2208210

✎ 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
4525158 2208210 2208210 plaintiff Iford John     Iford, John 0
4525159 2208210 2208210 defendant Hille Reginald   669174 669174 Hille, Reginald, of Aylberton, vicar 0
4525160 2208210 2208210 defendant Swon Richard   669174 669174 Swon, Richard, of Aylberton 1
4525161 2208210 2208210 defendant Shepherd William   669174 669174 Shepherd, William, of Aylberton 2
4525162 2208210 2208210 defendant Chaumpeny John     Chaumpeny, John 3
4525163 2208210 2208210 defendant Crook John   669174 669174 Crook, John, of Aylberton 4
4525164 2208210 2208210 defendant Stanburgh John     Stanburgh, John 5

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.316ms