home / cp40x

names

6 rows where case_id = 2305877

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4831480 2305877 2305877 plaintiff Brook Roger     Brook, Roger 0
4831481 2305877 2305877 defendant Baxster Henry yeoman 650510 650510 Baxster, Henry, of Great Dunham, yeoman 0
4831482 2305877 2305877 defendant Sadiller Thomas sadler 783315 783315 Sadiller, Thomas, of Trous, sadler 1
4831483 2305877 2305877 defendant Hogge Robert yeoman 594413 594413 Hogge, Robert, of Troston, Suff, yeoman 2
4831484 2305877 2305877 defendant Harlewyn James   597296 597296 together with Harlewyn, James, of Shropham 3
4831485 2305877 2305877 defendant Cullyng John yeoman 597005 597005 Cullyng, John, of Whynbergh, yeoman 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 12.155ms