home / cp40x

names

6 rows where case_id = 2318092

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4871615 2318092 2318092 plaintiff Morland William     Morland, William 0
4871616 2318092 2318092 defendant Ayera Thomas yeoman 815447 815447 Ayera, Thomas, of Shappe, Westmor, yeoman 0
4871617 2318092 2318092 defendant Tomlynson John yeoman 815448 815448 Tomlynson, John, of Comdonok, yeoman 1
4871618 2318092 2318092 defendant Stagge Thomas yeoman 815449 815449 Stagge, Thomas, of Caterlen, yeoman 2
4871619 2318092 2318092 defendant Wilson Robert yeoman 815450 815450 Wilson, Robert, of Caldbekke, yeoman 3
4871620 2318092 2318092 defendant Wilson Robert yeoman 815451 815451 Wilson, Robert, of Thirnby, Westmor, 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 13.328ms