home / cp40x

names

9 rows where case_id = 2230134

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4596431 2230134 2230134 plaintiff Russell Morris knight   Russell, Morris, knight 0
4596432 2230134 2230134 plaintiff White William clerk   White, William, clerk 1
4596433 2230134 2230134 plaintiff Elwyn Thomas clerk   Elwyn, Thomas, clerk 2
4596434 2230134 2230134 defendant Trotter John     Trotter, John 0
4596435 2230134 2230134 defendant Smyth John   683418 683418 Smyth, John, of Atton 1
4596436 2230134 2230134 defendant Broun John   683418 683418 Broun, John, of Atton 2
4596437 2230134 2230134 defendant Kent John     Kent, John 3
4596438 2230134 2230134 defendant Dun Roger   683418 683418 Dun, Roger, of Atton 4
4596439 2230134 2230134 defendant Jones William     Jones, William 5

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 16.616ms