home / cp40x

names

6 rows where case_id = 2380233

✎ 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
5079083 2380233 2380233 plaintiff Bust John     Bust, John 0
5079084 2380233 2380233 defendant Phylyp John fuller 586912 586912 Phylyp, John, of Melford, fuller 0
5079085 2380233 2380233 defendant Broun Richard woolman 586300 586300 Broun, Richard, of Wykhambroke, woolman 1
5079086 2380233 2380233 defendant Hardekyn John gent 839337 839337 Hardekyn, John, of Gestyngthorp, Essex, gent 2
5079087 2380233 2380233 defendant Sterff Edmund husbandman 585947 585947 Sterff, Edmund, of Hadley, husbandman 3
5079088 2380233 2380233 defendant Joce Geoffrey butcher 804949 804949 Joce, Geoffrey, of Ratelysden, butcher 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 15.198ms