home / cp40x

names

6 rows where case_id = 2386779

✎ 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
5101260 2386779 2386779 plaintiff Astyn Thomas chaplain   Astyn, Thomas, chaplain 0
5101261 2386779 2386779 defendant Bayte Richard clerk 846465 846465 Bayte, Richard, of Magna Byllyng, Nhants, clerk 0
5101262 2386779 2386779 defendant Heslerton William gent 660393 660393 Heslerton, William, of West Heslerton, gent 1
5101263 2386779 2386779 defendant Smyth William smith 634758 634758 Smyth, William, of Butterwyk, smith 2
5101264 2386779 2386779 defendant Gatilwod John laborer 601331 601331 Gatilwod, John, of Sledmer, laborer 3
5101265 2386779 2386779 defendant Archer Thomas   587965 587965 Archer, Thomas, of Helperthorp, franklin 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 21.14ms