home / cp40x

names

6 rows where case_id = 2495098

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5467063 2495098 2495098 plaintiff Beyll John     Beyll, John 0
5467064 2495098 2495098 defendant Roswall Stephen husbandman 890551 890551 Roswall, Stephen, of Rosewall, husbandman 0
5467065 2495098 2495098 defendant Waty David husbandman 591236 591236 Waty, David, of Berowe, husbandman 1
5467066 2495098 2495098 defendant Jak Jordan Nicholas husbandman 591236 591236 Jak Jordan, Nicholas, of Berowe, husbandman 2
5467067 2495098 2495098 defendant Hoskyn Henry mariner 890552 890552 Hoskyn, Henry, of St J_, mariner 3
5467068 2495098 2495098 defendant Uty William gent 803844 803844 Uty, William, of Marghasyowe, 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 15.645ms