home / cp40x

names

6 rows where case_id = 2329796

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4910494 2329796 2329796 plaintiff Bole John   820589 820589 Bole, John, of Cokflute 0
4910495 2329796 2329796 defendant Crokkey John (legal representative) 649399 649399 Crokkey, John, of Lynham, executors of 0
4910496 2329796 2329796 defendant Forstescu John gent 674273 674273 (Forstescu, John, of Camley, Soms, gent 1
4910497 2329796 2329796 defendant Spry Robert gent 820591 820591 Spry, Robert, of Bokelond Filly, Devon, gent 2
4910498 2329796 2329796 defendant Hillesdon Andrew gent 649399 649399 Hillesdon, Andrew, of Lynham, gent 3
4910499 2329796 2329796 defendant Hillesdon Margaret     Margaret, his wife 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 14.577ms