home / cp40x

names

6 rows where case_id = 2276652

✎ 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
4736840 2276652 2276652 plaintiff Tomkyn John   793659 793659 Tomkyn, John, of Trefewa 0
4736841 2276652 2276652 defendant Trenthgans Thomas gent 793660 793660 Trenthgans, Thomas, of Trenthgans, gent 0
4736842 2276652 2276652 defendant Cosowarth John husbandman 793661 793661 Cosowarth, John, of Cosowarth, husbandman 1
4736843 2276652 2276652 defendant Franceys John husbandman 793662 793662 together with Franceys, John, of Trebusken, husbandman 2
4736844 2276652 2276652 defendant Wylle Henry husbandman 793663 793663 Wylle, Henry, of Trennur, husbandman 3
4736845 2276652 2276652 defendant Gay John gent 793664 793664 Gay, John, of Bosseghan, gent 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 17.279ms