home / cp40x

names

10 rows where case_id = 2245188

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4647004 2245188 2245188 plaintiff Rowler John administrators of   Rowler, John, administrators of 0
4647005 2245188 2245188 plaintiff Rowler Joan   686336 686336 (Rowler, Joan, of Pountefract, formerly wife of John 1
4647006 2245188 2245188 plaintiff Swyllyngton Robert   686336 686336 Swyllyngton, Robert, of Pountefract 2
4647007 2245188 2245188 defendant Uskalf John     Uskalf, John 0
4647008 2245188 2245188 defendant Watkynson Richard   597618 597618 Watkynson, Richard, of Broderton, son of Thomas 1
4647009 2245188 2245188 defendant Rypon John   587058 587058 Rypon, John, of Sutton 2
4647010 2245188 2245188 defendant Hill William   597618 597618 Hill, William, of Broderton 3
4647011 2245188 2245188 defendant Sutton William   757836 757836 Sutton, William, of Pountfreyt 4
4647012 2245188 2245188 defendant Sutton John   757836 757836 Sutton, John, of Pountfreyt 5
4647013 2245188 2245188 defendant York John   757836 757836 York, John, of Pountfreyt 6

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