home / cp40x

names

6 rows where case_id = 2329016

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4907842 2329016 2329016 plaintiff Aldirhith John, senior (legal representative) 589100 589100 Aldirhith, John, senior, of Chesterton, executors of 0
4907843 2329016 2329016 plaintiff Pyghtesley Richard     (Pyghtesley, Richard 1
4907844 2329016 2329016 plaintiff Scot John chaplain   Scot, John, chaplain 2
4907845 2329016 2329016 plaintiff Aldirhith Alice formerly wife of Testator   Aldirhith, Alice, formerly wife of Testator 3
4907846 2329016 2329016 defendant Kyrkested Edmund merchant 781047 781047 Kyrkested, Edmund, of Bishop's Lynne, Norf, merchant 0
4907847 2329016 2329016 defendant Kyrkested John merchant 765113 765113 Kyrkested, John, of Bishop's Lynne, merchant 1

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