home / cp40x

names

6 rows where case_id = 2257919

✎ 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
4675410 2257919 2257919 plaintiff fitz William John esq   fitz William, John, esq 0
4675411 2257919 2257919 defendant Ouston John (legal representative) 777328 777328 Ouston, John, of Pigburn, executors of 0
4675412 2257919 2257919 defendant Ardern John gent 773438 773438 (Ardern, John, of Kirk Oswald, gent 1
4675413 2257919 2257919 defendant Chumberleyn Thomas gent 621337 621337 Chumberleyn, Thomas, of Skelbroke, gent 2
4675414 2257919 2257919 defendant atte Stile Robert gent 601378 601378 atte Stile, Robert, of Ouston, gent 3
4675415 2257919 2257919 defendant Parlyngton Robert   587036 587036 Parlyngton, Robert, of Broddesworth, vicar & chaplain 4

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