home / cp40x

names

6 rows where case_id = 2246461

✎ 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
4651459 2246461 2246461 plaintiff Arlosshe John   593911 593911 Arlosshe, John, of Penreth 0
4651460 2246461 2246461 defendant Canon Robert yeoman 586549 586549 Canon, Robert, of Hoton, yeoman 0
4651461 2246461 2246461 defendant Wode Thomas yeoman 778003 778003 Wode, Thomas, of Bolron, Yorks, yeoman 1
4651462 2246461 2246461 defendant Whawe William yeoman 778004 778004 Whawe, William, of Parva Hoton, Yorks, yeoman 2
4651463 2246461 2246461 defendant Smythson William yeoman 595423 595423 Smythson, William, of Skelton, yeoman 3
4651464 2246461 2246461 defendant Alanby Thomas yeoman 760354 760354 Alanby, Thomas, of Alanby, 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 11.675ms