home / cp40x

names

6 rows where case_id = 2434187

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5263049 2434187 2434187 plaintiff Poleyn John   590944 590944 Poleyn, John, of Clyve 0
5263050 2434187 2434187 defendant Bettenham Robert gent 637793 637793 Bettenham, Robert, of Otteham, gent 0
5263051 2434187 2434187 defendant Billyngton William gent 865682 865682 Billyngton, William, of Mokkyngford, Essex, gent 1
5263052 2434187 2434187 defendant Frend Lawrence husbandman 777935 777935 Frend, Lawrence, of Horndon, Essex, husbandman 2
5263053 2434187 2434187 defendant Elys Thomas laborer 590944 590944 Elys, Thomas, of Clyve, laborer 3
5263054 2434187 2434187 defendant Parker John husbandman 865683 865683 Parker, John, of Hadle juxta Lye, Essex, husbandman 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.463ms