home / cp40x

names

10 rows where case_id = 2303608

✎ 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
4824084 2303608 2303608 plaintiff Swylyngton John administrators of   Swylyngton, John, administrators of 0
4824085 2303608 2303608 plaintiff Scargoill William     (Scargoill, William 1
4824086 2303608 2303608 plaintiff Rous Robert     Rous, Robert 2
4824087 2303608 2303608 plaintiff Russehworth John     Russehworth, John 3
4824088 2303608 2303608 plaintiff Thornton John     Thornton, John 4
4824089 2303608 2303608 defendant Smyth John   603786 603786 Smyth, John, of Dersham, bailiff 0
4824090 2303608 2303608 defendant Elmy William yeoman 598220 598220 Elmy, William, of Halesworth, yeoman 1
4824091 2303608 2303608 defendant Aldrych John yeoman 757589 757589 Aldrych, John, of Wysete, yeoman 2
4824092 2303608 2303608 defendant Aley William   586363 586363 Aley, William, of Bungey, bailiff 3
4824093 2303608 2303608 defendant Rowelham John yeoman 607338 607338 Rowelham, John, of Elyngham, Norf, 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 14.014ms