home / cp40x

names

9 rows where case_id = 2202833

✎ 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
4507582 2202833 2202833 plaintiff (not given)   abbot of Whitby   Whitby, abbot of 0
4507583 2202833 2202833 defendant Gyblot William     Gyblot, William 0
4507584 2202833 2202833 defendant Spense Lawrence     Spense, Lawrence 1
4507585 2202833 2202833 defendant Rede Thomas   764595 764595 Rede, Thomas, of Aselby 2
4507586 2202833 2202833 defendant Sclater John   736785 736785 Sclater, John, of Lyth 3
4507587 2202833 2202833 defendant Loksmyth Robert   587028 587028 Loksmyth, Robert, of Whitby 4
4507588 2202833 2202833 defendant Lokton Roger   589401 589401 Lokton, Roger, of Scardeburgh 5
4507589 2202833 2202833 defendant Thorp Thomas   763754 763754 Thorp, Thomas, of Gysburgh 6
4507590 2202833 2202833 defendant Swardby Thomas     Swardby, Thomas 7

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