home / cp40x

names

5 rows where case_id = 2443598

✎ 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
5295233 2443598 2443598 plaintiff Trygge Robert   587532 587532 Trygge, Robert, of Asshewell 0
5295234 2443598 2443598 defendant Bowerer Thomas yeoman 593495 593495 Bowerer, Thomas, of Luton, yeoman 0
5295235 2443598 2443598 defendant Adysley William weaver 589071 589071 Adysley, William, of Bykeleswade, weaver 1
5295236 2443598 2443598 defendant Fuller John tucker 667058 667058 Fuller, John, of Blounham, tucker 2
5295237 2443598 2443598 defendant Martyn John maltman 609691 609691 Martyn, John, of Hexston, Herts, maltman 3

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