home / cp40x

names

5 rows where case_id = 2450341

✎ 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
5317570 2450341 2450341 plaintiff Flaxhale Nicholas (legal representative) 586223 586223 Flaxhale, Nicholas, of Walsale, executor of 0
5317571 2450341 2450341 plaintiff Flaxhale John     Flaxhale, John 1
5317572 2450341 2450341 defendant Flaxhale Gnry (legal representative)   Flaxhale, Gnry, executors of 0
5317573 2450341 2450341 defendant Couper John cooper 734409 734409 (Couper, John, of Magna Bloxwiche, cooper 1
5317574 2450341 2450341 defendant Fylkys Thomas yeoman 872693 872693 Fylkys, Thomas, of Waslale, yeoman 2

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