home / cp40x

names

6 rows where case_id = 1992557

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3906772 1992557 1992557 plaintiff Moris John     Moris, John 0
3906773 1992557 1992557 defendant Thomas William yeoman 649456 649456 Thomas, William, of Llandegveth, yeoman 0
3906774 1992557 1992557 defendant Sayr Walter John yeoman 592518 592518 Sayr, Walter John, of Carlyon, yeoman 1
3906775 1992557 1992557 defendant Hothny Richard yeoman 647831 647831 Hothny, Richard, of St Michell, yeoman 2
3906776 1992557 1992557 defendant Lloid Philip William yeoman 649457 649457 Lloid, Philip William, of Llangattock, yeoman 3
3906777 1992557 1992557 defendant ap John James yeoman 649458 649458 ap John, James, of Llantyle, 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 6.398ms