home / cp40x

names

10 rows where case_id = 1998138

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3923414 1998138 1998138 plaintiff Smyth Thomas     Smyth, Thomas 0
3923415 1998138 1998138 plaintiff Furlong Robert     Furlong, Robert 1
3923416 1998138 1998138 defendant Collys John, senior husbandman 609256 609256 Collys, John, senior, of Rewe, husbandman 0
3923417 1998138 1998138 defendant Collys John, junior husbandman 609256 609256 Collys, John, junior, of Rewe, husbandman 1
3923418 1998138 1998138 defendant Collys William husbandman 609256 609256 Collys, William, of Rewe, husbandman 2
3923419 1998138 1998138 defendant Barne James husbandman 609256 609256 Barne, James, of Rewe, husbandman 3
3923420 1998138 1998138 defendant Penston Richard   609256 609256 Penston, Richard, of Rewe, parish clerk 4
3923421 1998138 1998138 defendant Elyott Nichola widow 609256 609256 Elyott, Nichola, of Rewe, widow 5
3923422 1998138 1998138 defendant Pyme John husbandman 609256 609256 Pyme, John, of Rewe, husbandman 6
3923423 1998138 1998138 defendant Andrewe William husbandman 609256 609256 Andrewe, William, of Rewe, husbandman 7

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 13.34ms