home / cp40x

names

6 rows where case_id = 2333563

✎ 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
4922852 2333563 2333563 plaintiff Lynford John   587059 587059 Lynford, John, of Stalham 0
4922853 2333563 2333563 defendant Hickling Roger prior of the church of the BM, in   Hickling, Roger, prior of the church of the BM, in 0
4922854 2333563 2333563 defendant Wystan Nicholas husbandman 588126 588126 Wystan, Nicholas, of North Walsham, husbandman 1
4922855 2333563 2333563 defendant Reymes Hugh gent 657676 657676 Reymes, Hugh, of Overstrand, gent 2
4922856 2333563 2333563 defendant Trace William butcher 597505 597505 Trace, William, of Lesyngham, butcher 3
4922857 2333563 2333563 defendant Martyn John   588420 588420 Martyn, John, of Holme, abbot of St Benedict's or St Benet's 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.344ms